This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Adding URL to webfilter by using API

I would like to add URLs/Domains to the webfilter by using the API. Can't figure out the code that is needed. Can anyone help?



This thread was automatically locked due to age.
Parents Reply
  • Now I got it. Had problems with <pre>-tag in editor.
    This is the code I used:


    https://<Firewall_IP_address>:<port>/webconsole/APIController?reqxml=<Request>
    <Login>
    <UserName>apiuser</UserName>
    <Password>password</Password>
    </Login>
    <Set Operation="add">
    <WebFilterURLGroup>
    <Name>Name</Name>
    <URLlist>
    <URL>URLs</URL>
    <URL>URLs</URL>
    </URLlist>
    <Description>Text</Description>
    </WebFilterURLGroup>
    </Set>
    </Request>
Children
No Data