Skip to content
2xx · Success

201 Created

The request succeeded and a new resource was created as a result.

What it means

HTTP 201 Created confirms that a request — typically a POST or PUT — succeeded and resulted in a new resource. The response usually includes a Location header pointing to the newly created resource.

When it happens

It happens in APIs after creating a record: submitting a form that creates an account, posting a new comment, or uploading a file that becomes a new object.

How to fix it

  • Nothing to fix — 201 is the correct success response for resource creation.
  • Ensure your API includes a Location header pointing to the created resource so clients can fetch it.

SEO impact

None directly. 201 is an API-level response and does not apply to indexable HTML pages.

Check it with Sitewell

Find out which of your URLs return 201

Paste a list of URLs and Sitewell checks the status code of every one at once — free and without signup.

Related codes

Related guides