WordPress at a glance
function is not described

Requests_Session::post() public WP 1.0

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() WP 5.7.2

<?php
public function post($url, $headers = array(), $data = array(), $options = array()) {
	return $this->request($url, $headers, $data, Requests::POST, $options);
}