Requests_Session::patch

Advertisement

Summery Summery

Send a PATCH request

Syntax Syntax

Requests_Session::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/Requests/Session.php

	public function patch($url, $headers, $data = array(), $options = array()) {
		return $this->request($url, $headers, $data, Requests::PATCH, $options);
	}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.