Back to all status codes
418
I'm a teapot
The server refuses to brew coffee because it is a teapot. This is an April Fools' joke from RFC 2324.
Common Causes
- •Easter egg response
- •HTCPCP protocol joke
- •Intentional humor
Code Examples
// Express.js - Easter egg
app.get('/coffee', (req, res) => {
res.status(418).send("I'm a teapot");
});