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

API 端点: POST /api/banip

POST body

ip
string
required

所要封禁的 IP。例如 1.2.1.2

domain
string

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

ms
integer

在指定毫秒内封禁 IP

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