public delete ( string $url, array | string $data = null, array $headers = [], array $options = [] ) : |
||
$url | string | target URL. |
$data | array | string | if array - request data, otherwise - request content. |
$headers | array | request headers. |
$options | array | request options. |
return | request instance. |
public function delete($url, $data = null, $headers = [], $options = [])
{
return $this->createRequestShortcut('delete', $url, $data, $headers, $options);
}