HTTP 201 Created
Success code, RFC 9110, section 15.3.2
What it means
The request created something new. The Location header points to the new resource, or if it is missing, the address you posted to is the new thing.
A real response
This is the request and the answer our test server gave when we asked it to return 201.
GET /c/201 HTTP/1.1
Host: example.com
HTTP/1.1 201 Created
Date: Sat, 14 Nov 2026 10:00:00 GMT
Content-Type: text/html; charset=utf-8
Location: /items/42
Content-Length: 11
<p>demo</p>If you run the site
Use 201 after a POST (or PUT) that creates a record. Send a Location header with the address of the new item, and the new item in the body if it is small. Use 200 when you only updated something that already existed.
If you are a visitor
Nothing to fix. It tells your program that the item now exists.
A common mistake
Forgetting the Location header, so the client has to guess where the new item lives.
Registered in the IANA HTTP Status Code Registry as Created, defined in RFC 9110, section 15.3.2.
This is an independent guide. It is not connected with the IETF, IANA, any browser maker or any company named here. Meanings were checked against the RFC texts on 14 November 2026. Responses shown were recorded on 14 November 2026 from a small test server on the author's own computer.