Curl command for site categorization polling on ProxySG


Article ID: 171104


Updated On:


ProxySG Software - SGOS Advanced Secure Gateway Software - ASG


You would like to use a Curl command or script on ProxySG to return a category for a resource.


You can point the curl command to the advanced URL of "https://x.x.x.x:8082/ContentFilter/TestUrl/{URL.EN_US}"

curl -k -u user:password https://x.x.x.x:8082/ContentFilter/TestUrl/{URL.EN_US}

This action does require admin credentials with at least Read-Only (RO) access. So if the admin authentication uses an external user database and a realm, you can create a user for this sole purpose with RO access.

To set up the admin authentication and authorization please follow KB TECH241399

  Policy: none
  Local: none
  Blue Coat: Search Engines/Portals