HTTP 201 Created — Resource Successfully Created
Informational2xx success
Overview
HTTP 201 Created indicates that a new resource has been successfully created on the server.
Key Details
- Status: 201 Created
- Category: 2xx Success
- A new resource was created
- Response includes Location header with new resource URL
Common Causes
- Successful POST request creating a new resource
- API endpoint created a new record
- File upload completed successfully
- User registration or account creation
Steps
- 1Check the Location header for the new resource URL
- 2Verify the response body contains the created resource
- 3Use the returned ID for subsequent requests
- 4Confirm the resource exists with a GET request
Tags
http-status2xx-successhttp-201httpstatus-code
More in 2xx Success
http-200-okHTTP 200 OK — What It Means & How to Fix It
Informationalhttp-201-createdHTTP 201 Created — What It Means & How to Fix It
Informationalhttp-202-acceptedHTTP 202 Accepted — What It Means & How to Fix It
Informationalhttp-203-non-authoritative-informationHTTP 203 Non-Authoritative Information — What It Means & How to Fix It
Informationalhttp-204-no-contentHTTP 204 No Content — What It Means & How to Fix It
Informationalhttp-205-reset-contentHTTP 205 Reset Content — What It Means & How to Fix It
InformationalFrequently Asked Questions
200 means general success; 201 specifically means a new resource was created.