The 2xx (Successful) class of HTTP status code indicates that the client’s request was successfully received, understood, and accepted.
The HTTP Status Code 200 OK represents that the request has been successfully processed on the server.
Some of the HTTP request methods are:
- GET: The resource has been retrieved and is being sent in the body of the message.
- HEAD: Without a message body, the representation headers are included in the response.
- POST: The resource describing the action’s outcome is sent in the message body.
- TRACE: The request message as received by the server is contained in the message body.
The successful outcome of a PUT or DELETE is frequently a 204 No Content rather than a 200 OK (or a 201 Created when the resource is uploaded for the first time).
Navigation
Status
200 OK
Although an origin server may produce a payload body of zero length or an empty payload, a 200 response always contains a payload. If the server does not transmit any payload in response, HTTP status 204 (No Content) should be sent instead. The header and payload of a 200 (OK) response are cacheable by default. If caching is to be disabled, the response must include the cache’s appropriate cache headers.
The response payload depends on the HTTP method which was selected for the request.
Specifications
Browser compatibility

Full Support
HTTP Status Code 200 – Response Payload
HTTP Response | Response Payload |
GET | a representation of the target resource |
HEAD | the same representation as GET, but without payload |
POST | a representation of the status of, or results obtained from, the action |
PUT, DELETE | a representation of the status of the action |
OPTIONS | a representation of the communications options |
TRACE | a representation of the request message as received by the end server. |
FAQs
What HTTP status code 200 states?
The HTTP Status Code 200 OK represents that the request has been successfully processed on the server.
What is the difference between status code 200 and 201?
When an object is generated and returned, the status code 200 is shown.
When an object is created but just its reference is returned, the status code 201 is shown (such as an ID or a link)
How do you validate status code 200?
The Server returns different status codes depending on whether the Request was successful or not. Status Code 200 is returned if the Request is successful.
Related Post:
HTTP Status Code 300-Multiple Choices
HTTP Status Code 204 – No Content
HTTP Status Code 203 – Non-authoritative Information
HTTP Status Code 207 Multi-Status
HTTP Status Code 208 Already Reported
HTTP Status Code 400 Bad Request
HTTP Status Code 401 Unauthorized
HTTP Status Code 403 Forbidden Error
HTTP Status Code 404 Not Found
HTTP Status Code 405 Method Not Allowed
HTTP Status Code 411 Length Required
Conclusion
Hopefully, I guess this article was able to help you with HTTP status code 200 Ok. Still, if there are any questions you have, please to ask them in the comment section, we would be happy to assist you. Thank you.
Kedar Dangal
Making a difference, Adding the sum.