201 Created

Look up a status, pick the right one for an API, or hit a live endpoint that actually returns it. Add ?code=418 to this URL and the response is that status — useful for curl, interceptors, and “what does my client do on 503?” Nothing here phones home except the Try it fetch to this same page.

Which class?

201

Created

Success · RFC 9110

A new resource was created. Include a Location header with its URL.

When to use

POST that inserts a record, or PUT that creates at a new URL.

Don’t

Do not use 201 for updates to an existing resource — that is 200 or 204.

Live URL

curl -i https://corecoding.com/utilities/http-status.php?code=201


    

Code use cases