201
2xxSEO: neutralRFC 9110

HTTP 201 Created

A new resource was created (typically in response to a POST request).

Indexable by Google
No
Link equity passed
No
SEO Impact
Neutral
Category
2XX

SEO Impact

201 is used for API endpoints that create resources. It is not relevant for SEO as search engines do not submit POST requests. Ensure your public-facing pages return 200, not 201.

When to Use 201

Return after successfully creating a resource via POST or PUT. Include a Location header pointing to the new resource.

HTTP Response Example

HTTP/1.1 201 Created
Location: /api/resources/123

Test with cURL

$ curl -X POST https://api.example.com/items -d '{"name":"test"}'

Related 2xx Status Codes

200 OK204 No Content
← All HTTP Status Codes