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 endpoint: POST /api/banip

POST body

ip
string
required
IP to ban. e.g. 1.2.1.2
domain
string
Ban the IP for sending requests to the specified domain
ms
integer
Ban the IP for specified milliseconds
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}'