灵工艺API正在进行大型重构

get
获取IP地址

https://api.nullcraft.org/v1/user/ip
获取访问者IP,主要用于开服器IP获取
Request
Response
Request
Query Parameters
type
optional
string
参数?type=
Form Data Parameters
json
optional
string
可选参数返回json
Response
200: OK
JSON返回
{
"code": 200,
"emoji": "👍",
"ip": "127.0.0.1"
}
400: Bad Request
Could not find a cake matching this query.
{
"code": 400,
"message": "请求错误",
"emoji": "👎"
}