HTTP 201 Created

A new resource exists as a result of this request. A well-behaved API also sends a Location header pointing at it, and usually the created representation as the body.

Why you would test it

Check the Location header, not just the status — clients that build the follow-up URL themselves break the first time the server changes its id scheme.

Endpoints that return 201

42 endpoints in this playground answer with 201. Every one is free, needs no signup, and can be called from the browser or with curl.

…and 17 more endpoints across the catalog.

Other success codes

All HTTP status codes · All 37 mock REST APIs · Getting started guide