GET
tool-httpstatus
公开接口 累计 2 次/api/v1/tool-httpstatus
检测网站 HTTP 状态码、IP 与响应头
/api/v1/tool-httpstatus
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
url |
string |
必填 | - | 目标网址,可省略 http:// |
method |
string |
可选 | HEAD |
请求方法 |
follow |
boolean |
可选 | 1 |
是否跟随跳转 |
{
"ok": true,
"data": {
"result": {
"status": 200,
"status_text": "Success",
"ip": "93.184.216.34",
"redirects": 0,
"elapsed_ms": 120
}
}
}
curl -X GET '/api/v1/tool-httpstatus?method=HEAD&follow=1'