AnsweredAssumed Answered

Curl API call in VBA

Question asked by Max Max on Sep 10, 2018
Latest reply on Sep 10, 2018 by Ian Glennon

Hi, 

 

I am trying to run some API call directly from VBA code. Can anyone help, please?

 

For example, I would need to run in VBA this command

 

curl -H "X-Requested-With: curl demoapp" -u "ID:psw" "https://qualysapi.qualys.eu/api/2.0/fo/asset/host/?action=list&details=Basic/AGs&truncation_limit=10000" >"C:\asset.txt"

 

At the moment, I am calling an external batch file to run this command, but I would like to run it directly from VBA code.

 

Thanks

Outcomes