All HTTP Status Codes
201
Created
2xx Success
RFC 9110What it means
The request succeeded and a new resource was created as a result. This is typically the response sent after POST requests that create something new on the server.
Common causes
- Successful record creation via POST
- File upload completed
- User registration succeeded
How to fix it
No action needed. The Location header typically contains the URL of the new resource.
Example response
HTTP/1.1 201 Created Location: /users/42 Content-Type: application/json
Test this status code live
Send real HTTP requests and inspect status codes directly in your browser.