Make a HTTP POST request to the Reader API.

        :param url: url to which to make a POST request.
        :param post_params: parameters to be sent in the request's body.
196872
def post(self, url, post_params=None):
        
        params = urlencode(post_params)
        logger.debug('Making POST request to %s with body %s', url, params)
        return self.oauth_session.post(url, data=params)
349093
def post(self, request, data=None):
        
        headers = {"Authorization": "Bearer " + self.token }
        logging.debug(json.dumps(data, indent=4))
        p = requests.post(self.url + request, headers=headers, data=json.dumps(data))
        return json.loads(p.text)
210581
def post(self, uri, data, **kwargs):
        
        return self.request("POST", uri, data=data, **kwargs)
899265
def _post(self, url, **kw):
        '''
        
        '''
        headers = kw.pop('headers', {})
        headers.setdefault('Authorization', self.AUTHORIZATION_HEADER)
        kw['headers'] = headers
        resp = self.session.post(url, **kw)
        self._raise_for_status(resp)
        return resp
816519
def post(self, url: str, data: str, expected_status_code=201):
        
        r = requests.post(self._format_url(url), json=data, headers=self.headers, timeout=TIMEOUT)
        self._check_response(r, expected_status_code)

        return r.json()
540459
def _http_post(self, url, data, **kwargs):
        

        if not kwargs.get('file_upload', False):
            data = json.dumps(data)

        kwargs.update({'data': data})

        return self._http_request('post', url, kwargs)
26390
def http_post(blink, url, is_retry=False):
    
    if blink.auth_header is None:
        raise BlinkException(ERROR.AUTH_TOKEN)
    _LOGGER.debug("Making POST request to %s", url)
    return http_req(blink, url=url, headers=blink.auth_header,
                    reqtype='post', is_retry=is_retry)
956299
def post(self, request, *args, **kwargs):
        
        response = self.create(request, *args, **kwargs)
        response.data = None
        return response
293260
def _basic_post(self, url, data=None):
        
        _url = urljoin(self.base_url, url)
        r = self.session.post(_url, data=data, headers=self.headers, timeout=5)
        r.raise_for_status()
        return r
365011
def postURL(self, url, headers={}, body=None):
        
        return self._load_resource("POST", url, headers, body)
168087
def _post(self, *args, **kwargs):
        
        data = self._default_data()
        data.update(kwargs.get('data') or {})
        kwargs['data'] = data
        return self._request(requests.post, *args, **kwargs)
925683
def post(self, url, data=None, **kwargs):
        """"""
        return requests.post(url, data=data, headers=self.add_headers(**kwargs))
1212088
def send_request(self, url):
        
        while True:
            try:
                return urllib.request.urlopen(url)
            except urllib.error.HTTPError as e:
                raise serror(
                    "Request `%s` failed (%s:%s)." %
                    (url, e.__class__.__name__, e.code))
            except Exception as e:
                choice = input(serror(
                    "Error occured: %s - Retry? [yN]" % type(e)))
                if choice.strip().lower() != "y":
                    raise serror(e)
225005
def post_json(self, url, data, cls=None, **kwargs):
        
        kwargs['data'] = to_json(data, cls=cls)
        kwargs['headers'] = self.default_headers
        return self.post(url, **kwargs).json()
585553
def post(url, req_hash={})
      res = nil
      res = perform_op(:post, req_hash) do
        res = @wrapper.post(url, req_hash)
      end
      return res
    end
300232
def post(self, url):
        
        return requests.post(url, data=self.data, headers=self.config.HEADERS)
108047
def post(self, action, data=None, headers=None):
        
        return self.request(make_url(self.endpoint, action), method='POST', data=data,
                            headers=headers)