Coder Social home page Coder Social logo

alexantoniades / status.pizza Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pweth/status.pizza

0.0 0.0 0.0 6.47 MB

๐Ÿ• API for HTTP status code pizzas

Home Page: https://status.pizza

License: MIT License

JavaScript 43.44% CSS 35.83% HTML 20.73%

status.pizza's Introduction

๐Ÿ• 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 [email protected].

๐Ÿ™Œ Acknowledgements

status.pizza's People

Contributors

alexantoniades avatar pweth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.