DELETE request method deletes the specified
|Request has body||May|
|Successful response has body||May|
|Allowed in HTML forms||No|
DELETE /file.html HTTP/1.1
DELETE /file.html HTTP/1.1 Host: example.com
DELETE method is successfully applied, there are several response
status codes possible:
Accepted) status code if the action will likely succeed but has not yet been enacted.
No Content) status code if the action has been enacted and no further information is to be supplied.
OK) status code if the action has been enacted and the response message includes a representation describing the status.
HTTP/1.1 200 OK Date: Wed, 21 Oct 2015 07:28:00 GMT <html> <body> <h1>File deleted.</h1> </body> </html>
|Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content (HTTP/1.1)|
BCD tables only load in the browser