Make a GET or POST request to the
resource and include the
option to use the Content-Disposition filename as provided by the server as shown in the following cURL command:
curl -JO 'https://wildfire.paloaltonetworks.com/publicapi/test/pe'
The response saves the malware test file to your local system. Each time you download the test file, it has a different SHA-256 hash value.