post¶
- requests_pelican.post(url, data=None, json=None, **kwargs)[source]¶
Sends a POST request.
- Parameters:
url – URL for the new
Requestobject.data – (optional) Dictionary, list of tuples, bytes, or file-like object to send in the body of the
Request.json – (optional) A JSON serializable Python object to send in the body of the
Request.**kwargs – Optional arguments that
requesttakes.
- Returns:
Responseobject- Return type:
requests.Response
requests.postThe upstream function of which this is a wrapper.