200 OK

200 OK is the most common HTTP status code. It generally means that the HTTP request succeeded.

If the HTTP request was a GET request, the response should include the full representation of the resource.

If the response has no body, then the 204 No Content response body should be used instead.

Example:

GET /hello-world.txt HTTP/1.1
Accept: text/*
HTTP/1.1 200 OK
Content-Type: text/markdown
Content-Length: 778 

[200 OK][1] is the most common HTTP status code. It generally means that the
HTTP request succeeded.

HTTP series

This article is part of an ongoing series about the HTTP protocol.

If you want to follow along as I write them, you can Subscribe to my Atom feed or Mailing list.

Archive

Web mentions