C#/.NET code for HTTP DELETE Body ExampleThis C#/.NET code snippet was generated automatically for the HTTP DELETE Body example.
<< Back to the HTTP DELETE Body example
What is HTTP?
HTTP (The Hypertext Transfer Protocol) is the core of the WWW (World Wide Web) and powers websites and mobile applications. An HTTP connection is used to transfer information between networked devices and to facilitate client-server communication. HTTP works as a request-response protocol between the client and server. All modern programming languages natively support HTTP.
What is HTTP DELETE?
The DELETE method is one of the nine standard HTTP (Hypertext Transfer Protocol) request methods for deleting resources from the server. By using the HTTP DELETE request method, we ask the server to delete the specified resource. The DELETE is an idempotent method. The DELETE method, like the GET method, can not have a request body. Unlike GET and HEAD requests, DELETE requests can change the server's state.
HTTP DELETE Body Example
The following is an example of sending an HTTP DELETE Body request to a ReqBin echo URL:
The server's response to our HTTP DELETE Body request: