def METHOD_NAME(self, path="", **kwargs):
    kwargs.setdefault("method", "GET")
    kwargs.setdefault("url", path)
    conn = self.connect()
    conn.METHOD_NAME(**kwargs)
    with conn.getresponse() as response:
        response.data = response.read()
    conn.close()
    if response.headers.get("Content-Type", "").startswith("application/json"):
        response.json = json.loads(response.data)
    else:
        response.json = None
    return response