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 in the message body.POST
: The resource describing the result of the action is transmitted in the message body.TRACE
: 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
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.
Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | Servo |
---|---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Chrome for Android | Edge Mobile | Firefox for Android | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |