def _http_call(self, url, method, data=None, **kwargs):
response = self._http_response(url, method, data=data, **kwargs)<EOL>if not response.content:<EOL><INDENT>return {}<EOL><DEDENT>return response.json()<EOL>
url -> full target url
           method -> method from requests
           data -> request body
           kwargs -> url formatting args