Skip to content
fixerror.dev
201 2xx RFC 9110 §15.3.2

Created

Request succeeded and a new resource was created. Response should include Location header pointing to the new resource.

What HTTP 201 means

RFC 9110 §15.3.2. Returned after POST creating a new resource. Best practice: include Location header with the URL of the created resource and the resource representation in the body.

Typical causes

  • Successful POST creating a resource
  • PUT creating (not updating) a resource