DELETE

DELETE

  • The DELETE method removes the resource at the URL.

  • For example, DELETE https://restaurant-reviews.com/restaurants/353 will delete the review with the ID of 353

  • DELETE requests are not idempotent. When we make one of these requests, the state of the server changes. Making the request again would probably result in an error since the item was already deleted

  • The DELETE method is similar to the DELETE FROM statement