src/net/Curl.php
public function delete ($data = null)
		{
			$this->_options[ CURLOPT_CUSTOMREQUEST ] = 'DELETE';
			if ($data != null)
				$this->_options[ CURLOPT_POSTFIELDS ] = is_array($data) ? http_build_query($data) : $data;

			return $this->send();
		}
public function delete ($data = null)
		{
			$this->_options[ CURLOPT_CUSTOMREQUEST ] = 'DELETE';
			if ($data != null)
				$this->_options[ CURLOPT_POSTFIELDS ] = is_array($data) ? http_build_query($data) : $data;

			return $this->send();
		}
public function delete ( $ data = null ) { $ this -> _options [ CURLOPT_CUSTOMREQUEST ] = 'DELETE' ; if ( $ data != null ) $ this -> _options [ CURLOPT_POSTFIELDS ] = is_array ( $ data ) ? http_build_query ( $ data ) : $ data ; return $ this -> send ( ) ; }
Sends DELETE request.

@param null|array $data Additional data to append to request.
@return string|CurlResponse
Sends DELETE request .