AnsweredAssumed Answered

API Building - to downlaod reports from Qualys VM

Question asked by KK AK on Apr 29, 2014
Latest reply on May 1, 2014 by Kelly Hammons

Hi,

 

Can any one help me in writing the Curl code to download the reports from Qualys ?

 

Below mentioned is the command which I am using to downlaod the reports but I couldnt able to locate the file in my system. I have also attached the output screenshot with this request.

 

curl -H "X -Requested -With: curl Sample" -c cookie.txt -d "action=fetch&id=7190830" "https://qualysapi.qg2.apps.qualys.com/api/2.0/fo/report/" -o ReportXMLComplete.txt

 

Curl screnshot.PNG

Outcomes