Strictly speaking, a DELETE or a GET request for a resource that does not exist is not a "valid" request - ie.
the client should not re-attempt that request because it will never succeed...
For a PUT request: HTTP 200 or HTTP 204 should imply "resource updated successfully".
For a DELETE request: HTTP 200 or HTTP 204 should imply "resource deleted successfully".
HTTP 202 can also be returned which would imply that the instruction was accepted by the server and the "resource was marked for deletion".
SHOULD be sent to indicate successful completion of the request.
deleting a record) or the response code it returns may be different on subsequent requests, the system state will be the same every time.
Star high school quarterback, Josh Mc Intyre wants to be a writer, but everyone sees him only as a popular jock headed to college on a football scholarship. See full summary » Ross Lynch stars as Kyle Moore, a teenager who after being uprooted by his parents' separation and unable to fit into his new hometown, stumbles upon a magical app that causes his social media updates to come true.Star high school quarterback, Josh Mc Intyre wants to be a writer, but everyone sees him only as a popular jock headed to college on a football scholarship.9.7 DELETE A successful response SHOULD be 200 (OK) if the response includes an entity describing the status, 202 (Accepted) if the action has not yet been enacted, or 204 (No Content) if the action has been enacted but the response does not include an entity.HTTP 200 OK: Standard response for successful HTTP requests.The actual response will depend on the request method used.HTTP 204 No Content: The server successfully processed the request, but is not returning any content @Martin: In that case, the service should return an HTTP 404.