Send DELETE request to a URL
public static delete ( string $url, array $headers = [], mixed $body = null, string $username = null, string $password = null ) : unirest\Response | ||
$url | string | URL to send the DELETE request to |
$headers | array | additional headers to send |
$body | mixed | DELETE body data |
$username | string | Basic Authentication username (deprecated) |
$password | string | Basic Authentication password (deprecated) |
return | unirest\Response |