HTTP 418 I'm a Teapot

From the 1998 April Fools' hypertext coffee-pot spec. It is a real, registered code, and a teapot cannot brew coffee.

Why you would test it

Genuinely useful as a canary: pick a code nothing in your stack handles specially, and assert it survives your client, your proxy and your logging untouched.

Endpoints that return 418

1 endpoint in this playground answers with 418. Every one is free, needs no signup, and can be called from the browser or with curl.

Other client error codes

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