Testing REST API with Curl Command to DELETE Request

This page shows the result of the DELETE request sent with the Curl Command to delete the existing resource. The -i option is used to include response headers and -X option to specifies the request to command. Accept: application/json means that the user expects json and the "Authorization" header contains the credentials to authenticate a user agent with a server, bearer token.
Testing REST API with Curl Command to DELETE Request
Curl to send a DELETE request to the URL listed in the command.
The request is sent to delete a specific resource.
"Accept" header defines the acceptable type the server might choose to give as a response to the request.

Generate Code Snippets for Testing REST API Curl DELETE Request Example

Convert your Testing REST API Curl DELETE Request request to the PHP, JavaScript/AJAX, Node.js, Curl/Bash, Python, Java, C#/.NET code snippets using the ReqBin code generator.