← All HTTP status codes
2012xx — Success

HTTP 201 Created

A new resource was created as the result of the request. Typically the response of a successful POST.

What it means

201 Created indicates that the server has fulfilled the request and created a new resource — most commonly the result of a POST that inserted a row, queued a job, or registered an entity. The response often includes a Location header pointing at the new resource.

Strict REST style returns 201 instead of 200 for creation. In practice, many APIs return 200 with the created object and reserve 201 for cases where the client should follow the Location header. Both are conventional; pick one and be consistent.

Common causes

  • POST request that created a database row
  • PUT request that created (not updated) a resource
  • Resource provisioning that returns the new entity URL

How Uptimera reports 201

Uptimera treats 201 as healthy.

Catch 201s before your customers do

Uptimera monitors your URLs from multiple regions and alerts the moment a 201 starts firing. Free plan included.