- Mastering ASP.NET Web API
- Mithun Pattankar Malendra Hurbuns
- 100字
- 2021-07-02 20:52:25
HTTP DELETE example
DELETE is very similar to GET. Our HTTP method is DELETE, and we want to undo the star put we created with PUT. DELETE usually has no body:

DELETE is idempotent; when you call DELETE, you will get 200 back, indicating that the resource has been deleted. Making this request again will result in 404, resource not found, as the data has been deleted. Making this call again will result in 404. Although the response has changed from 200 to 404, you are still getting back the same behavior and the server is not doing anything different.