use do_request in ting-client