The request succeeded and a new resource was created; the Location header usually points to it.
Quick facts
When does it occur
The request succeeded and a new resource was created; the Location header usually points to it.
It belongs to the 2xx Successful class of responses, defined in RFC7231#6.3.2.
Browse all codes in this class: 2xx Successful
Frequently asked questions
201 belongs to the 2xx Successful class and is usually cacheable per headers such as Cache-Control (e.g. 200, 301, 304).
2xx Successful: The request succeeded and a new resource was created; the Location header usually points to it.
Sources & standards
Updated 2026-08-18
Explore this reference
Related status codes
Related headers
Related methods