Alex Rivera | Logout

HTTP status code for update and delete?

Asked 2010-02-26T15:16:40.613
1902

What status code should I set for UPDATE (PUT) and DELETE (e.g. product successfully updated)?

Edit
Report

1 Answer

11

In addition to 200 and 204, 205 (Reset Content) could be a valid response.

The server has fulfilled the request and the user agent SHOULD reset the document view which caused the request to be sent ... [e.g.] clearing of the form in which the input is given.

answered 2013-01-08T21:15:47.343

Your Answer