cURL
curl --request POST \ --url http://127.0.0.1:22100/v1/xdp/whitelist \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "ip": "<string>" } '
{ "ok": true, "ip": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
IP or CIDR text.
Entry added