This HTTP response code lets the user-client know that the server has accepted the request. This response code typically only appears when the request is successful. This response by default is cacheable.
A 200 response usually refers to the following methods:
Other requests such as PUT or DELETE should receive alternate 20x response codes, relative to their requested action.
200 OK success status response code indicates that the request has succeeded. A 200 response is cacheable by default.
The meaning of a success depends on the HTTP request method:
GET: The resource has been fetched and is transmitted in the message body.
HEAD: The representation headers are included in the response without any message body
POST: The resource describing the result of the action is transmitted in the message body
TRACE: The message body contains the request message as received by the server.
The successful result of a
PUT or a
DELETE is often not a
OK but a
No Content (or a
Created when the resource is uploaded for the first time).
|Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content|
Leave a Comment