Requests_Session::post()
Send a POST request
{} It's a method of the class: Requests_Session{}
No Hooks.
Return
null
. Nothing.
Usage
$Requests_Session = new Requests_Session(); $Requests_Session->post( $url, $headers, $data, $options );
- $url (required)
- -
- $headers **
- -
Default: array() - $data **
- -
Default: array() - $options **
- -
Default: array()
Code of Requests_Session::post() Requests Session::post WP 6.0
public function post($url, $headers = array(), $data = array(), $options = array()) { return $this->request($url, $headers, $data, Requests::POST, $options); }