Ploi API
Ploi API

Teapot

Ever wanted to see a teapot response? Now you can.

$ curl https://ploi.io/api/teapot \
    -H 'Authorization: Bearer n3h4bZK1bCbQ2EBpibvWykSzP7aJuuXeJz...' \
    -H 'Accept: application/json' \
    -H 'Content-Type: application/json'

Example response:

HTTP/1.1 418 I'M A TEAPOT
Content-Type: application/json

{
    "message": "Say hi to the teapot!",
    "images": "https://giphy.com/explore/teapot",
    "links": [
        "https://developers.ploi.io",
        "https://ploi.io"
    ]
}