Status.pizza
🍕 API for HTTP status code pizzas
Install / Use
/learn @pweth/Status.pizzaREADME
<div align="center">
<h1>🍕 Status Pizza</h1>
<a href="https://status.pizza">
<img width="540" src="https://user-images.githubusercontent.com/22416843/219874270-e8342606-716f-4e97-980a-3ef0b1a8695d.png">
</a>
</div>
How do I use it?
Standard
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
JSON
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!
Can I submit a pizza photo?
Yes please!
Feel free to create a PR on this repository or email in your submission to hello@status.pizza.
Acknowledgements
- Status Pizza is powered by Cloudflare Pages
- This project was inspired by HTTP Cats
- There was a previous Status Pizza project; so long, and thanks for all the fish
