Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>For a <strong>PUT</strong> request: <strong>HTTP 200</strong> or <strong>HTTP 204</strong> should imply "resource updated successfully".</p> <p>For a <strong>DELETE</strong> request: <strong>HTTP 200</strong> or <strong>HTTP 204</strong> should imply "resource deleted successfully". <strong>HTTP 202</strong> can also be returned which would imply that the instruction was accepted by the server and the "resource was marked for deletion".</p> <blockquote> <p><strong>9.6 PUT</strong></p> <p>If an existing resource is modified, either the 200 (OK) or 204 (No Content) response codes > SHOULD be sent to indicate successful completion of the request.</p> <p><strong>9.7 DELETE</strong></p> <p>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. </p> </blockquote> <p>Source: <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html" rel="noreferrer">w3.org: HTTP/1.1 Method Definitions</a></p> <blockquote> <p><strong>HTTP 200 OK:</strong> Standard response for successful HTTP requests. The actual response will depend on the request method used.</p> <p><strong>HTTP 204 No Content:</strong> The server successfully processed the request, but is not returning any content</p> </blockquote> <p>Source: <a href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success" rel="noreferrer">List of HTTP status codes: 2xx Success</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload