To use the API, you need to open the Web API Service to local network cards and give the necessary authorizations
Get the current whitelist records
GET http://192.168.1.190:9503/proxy/whitelists/get
Add value to the whitelist database
GET http://192.168.1.190:9503/proxy/whitelists/set/[pattern]
[pattern] can be a CIDR or an IP address or a domain ( 1.2.3.4/24, 1.2.3.4, domain.tld )
Save whitelist database into production mode
GET http://192.168.1.190:9503/proxy/whitelists/compile