实验室

July 29, 2018

这里是@typeof的实验室,正在建设中~

API

地址 api.typeof.pw,建议使用 HTTPS(本域名已加入 HSTS 预加载计划)

使用方法

/hello : 返回 hello,world!

/ua/useragent :返回 User-Agent

/echo/<string>:返回 <string>

/ip:返回公网 IP。
api.typeof.pw 为双栈,api4.typeof.pw 为 IPv4,api6.typeof.pw为 IPv6。

/poetry:返回诗歌行
参数(/poetry?type=):
type:可选参数,取值为 fulllinejson 之一

  • full:返回诗歌行及作者
  • line:只返回诗歌行
  • json:返回 JSON

观测台(暂不开放)

https://status.typeof.pw