The HTTP 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 entity headers are included in the response without any message bodyPOST
: The resource describing the result of the action is transmitted in the message bodyTRACE
: 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 200
OK
but a 204
No Content
(or a 201
Created
when the resource is uploaded for the first time).
Status
200 OK
Specifications
Specification | Title |
---|---|
RFC 7231, section 6.3.1: 200 OK | Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content |
Browser compatibility
BCD tables only load in the browser
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.