Skip to content

alexantoniades/status.pizza

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ• Status Pizza

302: Found

โš™๏ธ 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 pizzas?

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 hello@status.pizza.

๐Ÿ™Œ Acknowledgements

About

๐Ÿ• API for HTTP status code pizzas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.5%
  • CSS 35.8%
  • HTML 20.7%