subscribe

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 a series about the HTTP protocol. Read them all here:

Informational 1xx

Successful 2xx

Redirection 3xx

Client Error 4xx

Server Error 5xx

Bad Gateway is Toronto-based team of software engineers. We build good APIs and websites.

Want to work with me on your next project?

Email us

Web mentions