be able to send http requests to api server