201 Created
Made it. Happy now?
What it properly means
The request succeeded and a new resource was created. Typically the response to a POST, or some PUT requests.
- Class
- 2xx Successful: here you go
- Defined in
- RFC 9110, section 15.3.2
Get one yourself
This endpoint really answers with 201. Point your client at it and see what it does.
curl -i https://httpcodes.dev/api/201People mix this up with
201202 Accepted
Done, or just queued?
201 means the new thing exists right now. 202 means the request was accepted but the work has not happened yet, and it might still fail later.