418 I'm a teapot

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?

418

I'm a teapot

Client error · RFC 2324 / RFC 7168

April Fools’ HTCPCP: a teapot refuses to brew coffee. The body MAY be short and stout. IANA reserved 418 for this joke.

When to use

Easter eggs, never as a real API error.

Don’t

Production errors should be 400, 403, 501, or 503 — not 418.

Live URL

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


    

Code use cases