Requests::post() WordPress Method

Requests::post() is an HTTP method used to send data to a server. It is typically used to submit form data to a server.

Requests::post( $url,  $headers = array(),  $data = array(),  $options = array() ) #

Send a POST request


Source

File: wp-includes/class-requests.php

	public static function post($url, $headers = array(), $data = array(), $options = array()) {
		return self::request($url, $headers, $data, self::POST, $options);
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.