All HTTP status codes
2xx Success
RFC 9110
201 Created
The request succeeded and a new resource was created as a result.
What it means
HTTP 201 Created indicates the request was successful and led to the creation of a new resource. The newly-created resource is typically referenced via a Location header in the response.
When it's used
Returned by REST APIs after a successful POST that creates a new database record, file, or sub-resource.
Common causes
- POST request to create a user, order, or document
- PUT request that creates a new resource at a specific URI
- File upload completed successfully
How to fix it
- Not an error — confirms creation
- Verify the Location header points to the new resource
- Return the created entity body for client convenience (REST best practice)
Example response
HTTP/1.1 201 Created Location: /api/users/12345 Content-Type: application/json
SEO impact
Used by APIs, not page rendering. No SEO impact for HTML pages.