def METHOD_NAME(self, method, path, postdata):
    '''
    Do a HTTP request.
    '''
    headers = {'Host': self.__url.hostname,
               'User-Agent': USER_AGENT,
               'Authorization': self.__auth_header,
               'Content-type': 'application/json'}
    self.__conn.request(method, path, postdata, headers)
    return self._get_response()