HTTP Status Codes / 2xx HTTP Status Codes

2xx HTTP Status Codes

2xx status codes are successful responses.

This is an educational guide. The pages linked here are documentation pages served as 200 OK, even when the HTTP status code being explained is an error response.

What 2xx means

Successful responses mean the server accepted the request and completed, accepted, or partially completed the requested action. The exact meaning depends on the method and status code.

Where 2xx responses appear

Implementation notes

All 2xx status codes

CodeNameMeaning
200OKThe request succeeded. What the response body contains depends on the request method.
201CreatedThe request succeeded and created one or more new resources. The Location header identifies the primary new resource.
202AcceptedThe server accepted the request for processing but has not finished it. The work may still fail or be rejected later.
203Non-Authoritative InformationThe server is a transforming proxy (e.g. a Web accelerator) that received a 200 OK from its origin, but is returning a modified version of the origin's response.
204No ContentThe request succeeded and the response intentionally has no body.
205Reset ContentThe server successfully processed the request, asks that the requester reset its document view, and is not returning any content.
206Partial ContentThe server is delivering only part of the resource (byte serving) due to a range header sent by the client. The range header is used by HTTP clients to enable resuming of interrupted downloads, or split a download into multiple simultaneous streams.
207Multi-StatusThe message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made.
208Already ReportedThe members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response, and are not being included again.
226IM UsedThe server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.

HTTP status code lookup
REST API status code chooser
cURL command generator
By Ping Now, a website/API/service uptime monitor
Data from Wikipedia