201 Created

2xx Success

A new resource was created; the Location header carries its address.

On the wireHTTP/1.1 201 Created
Code201
Is it an errorNo — not an error
Category2xx Success

The request went through.

How to read this

  • The first digit of a status code carries the meaning: 4 means the request, 5 means the server.
  • 404 means "not there"; 403 means "there, but not for you". Swapping them makes debugging slower.
  • Header names are case-insensitive — Content-Type and content-type are the same header.
  • Caching and CORS problems usually come down to one header line, visible in the browser’s network tab.

Frequently asked questions

Q. What does HTTP 201 Created mean?

A new resource was created; the Location header carries its address.

Q. What does 201 Created look like on the wire?

It travels as HTTP/1.1 201 Created

Q. Is 201 Created an error?

No — it is part of a normal exchange, not a failure.

Q. What group does 201 Created belong to?

The 2xx success group; the rest of that group is listed further down.

Same group

Reference docs