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}'
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 endpoint: POST
/api/proxies/{PORT}/banip
Existing proxy port number
POST
bodyIP to ban. e.g. 1.2.1.2
Ban the IP for sending requests to the specified domain
Ban the IP for specified milliseconds
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}'
Was this page helpful?