curl "http://127.0.0.1:22999/api/proxies/{PORT}/banips" -H "Content-Type: application/json" -d '{"ips":["10.0.0.1","20.0.0.1"],"domain":"example.com","ms":60000}'

API 端点: POST /api/proxies/{PORT}/banips

路径参数

PORT
string
required

现有代理服务器端口号

POST body

ips
array
required

所要封禁的 IP。例如 ["10.0.0.1", "20.0.0.1"]

domain
string

封禁向指定域发送请求的 IP

ms
integer

在指定毫秒内封禁 IP

curl "http://127.0.0.1:22999/api/proxies/{PORT}/banips" -H "Content-Type: application/json" -d '{"ips":["10.0.0.1","20.0.0.1"],"domain":"example.com","ms":60000}'