08-09-2018 11:01 AM - edited 08-10-2018 04:36 PM
I'm testing Wildfire API and met some questions here. Any help is appreciated.
1. Does the submitted link/Links do not create report?
When I submitted link/links by pan-wfapi and get the same response like the document, then I can not find the report at the "https://wildfire.paloaltonetworks.com/wildfire/reportlist".
Even I submitted url at the "https://wildfire.paloaltonetworks.com/wildfire/upload", I cannot find the report either.
2. When I using curl to submit links follows the sample shown in document, it returns "<error-message>'Unsupport File type With submit links'</error-message>". Please anyne help me with this error? What's wrong with my request?
Below is my curl calling with response.
curl -F "apikey=own api key" -F "file=@D:/urls.txt" "https://wildfire.paloaltonetworks.com/publicapi/submit/links"
<?xml version="1.0" encoding="UTF-8"?>
<error-message>'Unsupport File type With submit links'</error-message>
3. When I use pan-python.wfapi to get the sample, it returns "HTTP Error 403: Permission Denied", does this means I do not have the permit to download file? Or, some other reasons? I thought it should return a file stream.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!