def _post(self, url_suffix, data, content_type=ContentType.json):
        """
        Send POST request to API at url_suffix with post_data.
        Raises error if x-total-pages is contained in the response.
        :param url_suffix: str URL path we are sending a POST to
        :param data: object data we are sending
        :param content_type: str from ContentType that determines how we format the data
        :return: requests.Response containing the result
        """
        (url, data_str, headers) = self._url_parts(url_suffix, data, content_type=content_type)
        resp = self.http.post(url, data_str, headers=headers)
        return self._check_err(resp, url_suffix, data, allow_pagination=False)
def _post ( self , url_suffix , data , content_type = ContentType . json ) : ( url , data_str , headers ) = self . _url_parts ( url_suffix , data , content_type = content_type ) resp = self . http . post ( url , data_str , headers = headers ) return self . _check_err ( resp , url_suffix , data , allow_pagination = False )
Send POST request to API at url_suffix with post_data.
        Raises error if x-total-pages is contained in the response.
        :param url_suffix: str URL path we are sending a POST to
        :param data: object data we are sending
        :param content_type: str from ContentType that determines how we format the data
        :return: requests.Response containing the result