def METHOD_NAME(self, method, get={}, post={}):
    api_token = self.info["data"].get("api_token", None)
    if api_token and method != "oauth/token":
        self.req.http.c.setopt(
            pycurl.HTTPHEADER, ["Authorization: Bearer " + api_token]
        )
    self.req.http.c.setopt(pycurl.USERAGENT, "pyLoad/{}".format(self.pyload.version))
    try:
        json_data = self.load(self.API_URL + method, get=get, post=post)
    except BadHeader as exc:
        json_data = exc.content
    return json.loads(json_data)