Requests::patch

Advertisement

Summery Summery

Send a PATCH request

Syntax Syntax

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

Description Description

Note: Unlike post and put, $headers is required, as the specification recommends that should send an ETag

Source Source

File: wp-includes/class-requests.php

	 * @link https://tools.ietf.org/html/rfc5789
	 */
	public static function patch($url, $headers, $data = array(), $options = array()) {

Advertisement

Advertisement

Leave a Reply