curl "http://127.0.0.1:22999/api/proxies/{PORT}/banip" -H "Content-Type: application/json" -d '{"ip":"1.2.1.2","domain":"example.com","ms":60000}'

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

路径参数

PORT
string
required

现有代理服务器端口号

POST 正文

ip
string
required

所要封禁的 IP。例如 1.2.1.2

domain
string

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

ms
integer

在指定毫秒内封禁 IP

curl "http://127.0.0.1:22999/api/proxies/{PORT}/banip" -H "Content-Type: application/json" -d '{"ip":"1.2.1.2","domain":"example.com","ms":60000}'