返回 HTTP 418 和字符茶壶

GET/teapot
公开访问

访问类别:匿名 API,可携带 Token 使用独立额度

响应

响应示例

成功响应

curl -sS https://oit.sh/teapot
HTTP 418
content-type: text/plain; charset=UTF-8
content-encoding: gzip
cache-control: no-store

418 I'm a teapot
       _
     _|_|_
    /     \__
   /       _/)
   \       /
    `-----'

错误示例

curl -sS -X PATCH https://oit.sh/teapot
HTTP 405
content-type: application/json
content-encoding: gzip
cache-control: no-store

{
  "error": {
    "code": "METHOD_NOT_ALLOWED",
    "message": "接口不支持该请求方法"
  }
}

在线调试

Ctrl / ⌘ + Enter
curl -X GET 'https://oit.sh/teapot'

响应

等待请求

等待发送请求