Initiate a POST request
978259
def post(self, url, data, params=None):
        
        r = self.session.post(url, data=data, params=params)
        return self._response_parser(r, expect_json=False)
1018789
def post(self, resource, data=None, json=None):
        
        return self.do(resource, 'POST', data=data, json=json)
408980
def _post(self, url, data={}, **kwargs):
        """"""
        if 'files' in kwargs:
            req = self._session.post(self._api_prefix + url, auth=self._session.auth, data=data, **kwargs)
            return self._action(req)

        req = self._session.post(self._api_prefix + url, data=data, **kwargs)
        return self._action(req)
751493
def post(url, data={}, options={})
      response = connection.post do |req|
        req.saddle_options = options
        req.url(url)
        req.body = data
      end
      handle_response(response)
    end
591361
def post(path: nil, payload: nil, headers: {}, query: {})
      execute(method: :post, path: path, headers: headers, query: query, payload: payload)
    end
1111885
function create(req, res, next) {
  var body = req.body;
  body.user_id = req.session.user.id;

  db.posts.create(req.body, function(err, post) {
    if(err) { return next(err); }

    res.json(201, post);
    signals.emit('post:create', post);
  });
}
650003
def post(self, endpoint: str, **kwargs) -> dict:
        """"""

        return self._request('POST', endpoint, **kwargs)
1372388
def post(self, request, *args, **kwargs):
        
        return self.approve(request, *args, **kwargs)
85336
def post(self, path, data, **options):
        
        data, options = self._update_request(data, options)
        return self.request('post', path, data=data, **options)
1350846
def post(self, request, bot_id, format=None):
        
        return super(HookList, self).post(request, bot_id, format)
85103
def post(path, params)
      headers = {}

      request('POST', path, params.to_json, headers) do |resp|
        yield(resp) if block_given?
      end
    end
1306490
def post(param_map, url=URL):
    """"""
    prepped_request = _prep_post(url=url, **param_map)
    return cgi.send(prepped_request)
297695
def post_request(url)
      do_request(url, Net::HTTP::Post) do |request|
        yield(request) if block_given?
      end
    end
614707
def post(self, key='hello', value='world'):
        
        return self.connection.post('echo/key', data=dict(key=key,           value=value))
235010
function makeRequest(){
  output('Sending the request...');
  var options = {
    method: $method.value,
    headers: {
      Accept: document.getElementById('accept').value
    },
    followRedirect: $followRedirect.checked
  };
  if(options.method === 'POST'){
    options.body = $requestBody.value;
  }
  client.request($url.value, options, function(error, response){
    if(error){
      genericError();
    } else {
      displayResponse(response);
      
      if(response.statusCode === 401){
        $authStatus.classList.remove('loggedin');
        $tokenDisplay.value = '';
        
      } else {
        $authStatus.classList.add('loggedin');
        $tokenDisplay.value = 'Bearer ' + client.getAccessToken();
      }
    }
  });
}
703297
def post(url, params = {}, options = {})
      post_request = Net::HTTP::Post.new(url)
      post_request.body = Gateway.parsed_params( wrap(:post, url, params) )
      post_request.content_type = 'application/x-www-form-urlencoded'
      self.call( post_request, options.merge(:format => params[:format]) )
    end
636953
def _make_post_request(self, uri, payload, timeout=None):
        
        if not timeout:
            timeout = self.timeout
        return self._make_request(requests.post, uri, data=payload, timeout=timeout)