src/Communique.php
public function put($url, $payload, array $headers = array(), $debug = null) {
		$request = new \Communique\RESTClientRequest('put', $this->_BASE_URL . $url, $payload, $headers);
		return $this->_call($request, $debug);
	}
public function put($url, $payload, array $headers = array(), $debug = null) {
		$request = new \Communique\RESTClientRequest('put', $this->_BASE_URL . $url, $payload, $headers);
		return $this->_call($request, $debug);
	}
public function put ( $ url , $ payload , array $ headers = array ( ) , $ debug = null ) { $ request = new \ Communique \ RESTClientRequest ( 'put' , $ this -> _BASE_URL . $ url , $ payload , $ headers ) ; return $ this -> _call ( $ request , $ debug ) ; }
Make an HTTP PUT request
@param  String $url     The API to make the request to
@param  mixed  $payload The payload of the request(any data you wish to send across)
@param  array  $headers Any headers you want to add to the request(optional)
@param  callable $debug A function to be used for request debugging.
This function should accept two parameters, one for the request object one for the response object.
@return \Communique\RESTClientResponse  REST response encapsulation object
Make an HTTP PUT request