'Make an authenticated API request of the proxy.'

def api_request(self, path, method='GET', body=None, client=None):

    client = (client or AsyncHTTPClient())
    url = url_path_join(self.api_url, 'api/routes', path)
    if isinstance(body, dict):
        body = json.dumps(body)
    self.log.debug('Proxy:    Fetching    %s    %s', method, url)
    req = HTTPRequest(url, method=method, headers={'Authorization': 'token    {}'.format(self.auth_token)}, body=body)
    return client.fetch(req)
