def METHOD_NAME(self, path, data=None):
    url = self.endpoint + path
    try:
        response = self.session.METHOD_NAME(url, data=json.dumps(data, cls=CustomJsonEncoder),
                                    headers=self.headers, auth=self.auth, timeout=self.timeout)
    except requests.exceptions.RequestException:
        raise
    return response