HTTP 2xx Success Status Codes

Successful responses like 200 OK, 201 Created, and 204 No Content.

View
StandardDetailedCompact
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all

HTTP 2xx Success Status Codes

Successful responses like 200 OK, 201 Created, and 204 No Content.

HTTP 200 OK

Request succeeded

textANYhttpstatus-code2xxhttp-200
text
curl -i https://example.com/api/users/123
Notes

General success response for most successful HTTP requests. A `200 OK` response is cacheable by default.

HTTP 201 Created

Resource created successfully

textANYhttpstatus-code2xxhttp-201
text
curl -i -X POST https://example.com/api/users -H 'Content-Type: application/json' -d '{"name":"Ada"}'
Notes

Common after a successful `POST` that creates a new resource.

HTTP 202 Accepted

Accepted for asynchronous processing

textANYhttpstatus-code2xxhttp-202
text
curl -i -X POST https://example.com/api/jobs -d '{"task":"export"}'
Notes

The request was accepted but may not be completed yet.

HTTP 203 Non-Authoritative Information

Metadata transformed by an intermediary

textANYhttpstatus-code2xxhttp-203
text
curl -i https://example.com/through-proxy
Notes

Indicates the payload was modified from the origin server’s response by a proxy or intermediary.

HTTP 204 No Content

Request succeeded with no response body

textANYhttpstatus-code2xxhttp-204
text
curl -i -X DELETE https://example.com/api/users/123
Notes

Common for updates or deletes when no body is necessary. MDN notes it is cacheable by default.

HTTP 205 Reset Content

Client should reset document view

textANYhttpstatus-code2xxhttp-205
text
HTTP/1.1 205 Reset Content
Notes

Instructs the client to reset the document view after success.

HTTP 206 Partial Content

Partial body returned due to range request

textANYhttpstatus-code2xxhttp-206
text
curl -i -H 'Range: bytes=0-1023' https://example.com/video.mp4
Notes

Used with `Range` requests for resumable downloads and media seeking.

HTTP 207 Multi-Status

Multiple resource statuses in one response

textANYhttpstatus-code2xxhttp-207
text
PROPFIND /webdav/ HTTP/1.1
Notes

Often associated with WebDAV operations returning per-resource results.

HTTP 208 Already Reported

Resource already reported in DAV binding

textANYhttpstatus-code2xxhttp-208
text
REPORT /webdav/collection HTTP/1.1
Notes

Used in WebDAV multistatus contexts to avoid repetition.

HTTP 226 IM Used

Delta encoding applied

textANYhttpstatus-code2xxhttp-226
text
GET /resource HTTP/1.1
Notes

Used when the server fulfilled a request for a representation using instance manipulations.

Recommended next

No recommendations yet.