def post(self, url, data=None, files=None, headers=None, get_json=True):
if self.debug:<EOL><INDENT>print("<STR_LIT>" % (url, headers))<EOL><DEDENT>self.headers = self._get_default_headers()<EOL>if headers is not None:<EOL><INDENT>self.headers.update(headers)<EOL><DEDENT>response = requests.post(url, headers=self.headers, data=data, auth=self.auth, files=files, verify=self.verify_ssl)<EOL>json_response = self._process_json_response(response)<EOL>return json_response if get_json is True else response<EOL>
Make POST request to a url

        Args:
            url (str): URL to send the request to
            data (dict, optional): Data to send
            files (dict, optional): Files to send with the request
            headers (str, optional): custom headers

        Returns:
            A JSON object of the returned response if `get_json` is True,
            Requests' response object otherwise