WildFire API questions about submit links and get report.

Reply
L0 Member

WildFire API questions about submit links and get report.

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>
<error-message>'Unsupport File type With submit links'</error-message>
</error>

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.

Many thanks.

Tags (2)
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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 Live Community as a whole!

The Live Community thanks you for your participation!