BloggingBIG Logo
Search
  • Blogs
  • How we work
  • Write Guest Post
Get started

HTTP Status Code 200 Ok

by Kedar Dangal

  • 3 min read
    • HTTP Status
Share this content
HTTP Status Code 200 Ok image

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
  • Specifications
  • Browser compatibility
  • HTTP Status Code 200 – Response Payload
  • FAQs
    • What HTTP status code 200 states?
    • What is the difference between status code 200 and 201?
    • How do you validate status code 200?
  • Conclusion

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

Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content (HTTP/1.1)
# status.200

Browser compatibility

http status code 200 ok
Credit: mozilla.org
Full Support

HTTP Status Code 200 – Response Payload

HTTP ResponseResponse Payload
GETa representation of the target resource
HEADthe same representation as GET, but without payload
POSTa representation of the status of, or results obtained from, the action
PUT, DELETEa representation of the status of the action
OPTIONSa representation of the communications options
TRACEa representation of the request message as received by the end server.
Credit: ClickMinded

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 302 Found

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 409 Conflict

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.

Share
Tweet
Share
0 Shares
Kedar Dangal image

Kedar Dangal

Making a difference, Adding the sum.

Be first to comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

More from HTTP Status

HTTP Status Code 499 Client Closed Request image

HTTP Status Code 499 Client Closed Request

Kedar Dangal image

by Kedar Dangal

  • 4 min read
    • HTTP Status
HTTP Status Code 431 Request Header Fields Too Large image

HTTP Status Code 431 Request Header Fields Too Large

Kedar Dangal image

by Kedar Dangal

  • 4 min read
    • HTTP Status
HTTP Status Code 429-Too Many Request image

HTTP Status Code 429-Too Many Request

Saurabh Chalise image

by Saurabh Chalise

  • 4 min read
    • HTTP Status

Quick links

  • Siteground black friday deals
  • Wp engine black friday deals
  • Greengeeks black friday deals
  • Tmd hosting black friday deals
  • Fastcomet black friday deals
  • Hostwinds black friday deals
  • bluehost black friday
  • Namecheap black friday deals
  • Ionos 1 & 1 black friday deals
  • Hostgator black friday deals
  • ipage black friday deals
  • wpx hosting black friday deals
BloggingBIG logo
  • About
  • DISCLAIMER
  • Disclouser for Blogging BIG
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
Developed by Fnclick
Back To Top