To request a captioned status code image, simply format the request as shown below:
https://status.pizza/[CODE]
You can optionally specify a PNG file extension:
https://status.pizza/[CODE].png
To receive a JSON object containing status code metadata and URLs for both the captioned and raw images, add a JSON file extension:
https://status.pizza/[CODE].json
The object you receive will have the following format:
{
"code": "[CODE]",
"title": "[CODE_TITLE]",
"image": "https://status.pizza/[CODE]",
"raw": "https://status.pizza/img/[CODE].png",
"category": "[CODE_CATEGORY]"
}
That's it; you are now a certified Status Pizza expert!
Yes please!
Feel free to create PRs on this repository, updating .cloudflare/worker.js
, srv/[CODE].png
and img/[CODE].png
accordingly.
Alternatively please email a 500x500 PNG, along with the status code, to [email protected].
- Status Pizza is powered by GitHub Pages and Cloudflare Workers
- This project was inspired by HTTP Cats
- There was a previous Status Pizza project; so long, and thanks for all the fish