Greetings, I have been trying to populate a custom URL category with a list of URLs that we maintain ourselves. Ideally, I would like to do this using the XML API, on a schedule. I have been able to successfully call the API, but I haven't been able to import data yet. If I read the XML-API documentation (XML-API-6.1.pdf) correctly, the call to import a custom URL category database is $ curl -k --form file=@BAD_URLS.txt ' https://device/api?type=import&category=url-database&key= ...' Performing this call does do something: <response status="success"><msg><line>uploaded_bc_db_full saved</line></msg></response> The file BAD_URLS.txt file contains the following sample data: <entry name="mycategory"> <list> <member>www.example.com/bad_url.html</member> </list> </entry> The category 'mycategory' has been created in the Web GUI prior to running the import action. Unfortunately, while the response status says 'success', I cannot find the imported data anywhere. Did I miss something that I should have done either right before, or right after the curl call, or am I just completely misunderstanding the API doc? Any guidance will be appreciated!
... View more