def request(self, url, method, data=None):
method = getattr(requests, method)<EOL>response = method(<EOL>url,<EOL>headers=self.headers,<EOL>data=self.process_json_for_cloudflare(data) if data else None<EOL>)<EOL>content = response.json()<EOL>if response.status_code != <NUM_LIT:200>:<EOL><INDENT>print(content)<EOL>raise requests.HTTPError(content['<STR_LIT:message>'])<EOL><DEDENT>return content<EOL>
The requester shortcut to submit a http request to CloutFlare
:param url:
:param method:
:param data:
:return: