Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

cURL in Qlikview

Hello all,

I would like to ask you if there is a solution to my problem?

I would like to run cURL inside qvw, but I get this error: curl: (6) Could not resolve host:

I am able to run this script when I put it in .cmd file an run it from command prompt.

this is the code from qlikview:

EXECUTE "Y:\Include\curl.exe" -k -u user1:pass1 https://website.com > "Y:\DowntimeInfo.html"

And when I put this code in the .cmd file, and run it, everything works.

Do you know what could be the issue? or how should I modify the script in order to get this working?

Best regards

5 Replies
giakoum
Partner - Master II
Partner - Master II

are you using desktop client on the same machine you execute the same with cmd?

Not applicable
Author

Hello,

the answer is yes.

It is the same machine

giakoum
Partner - Master II
Partner - Master II

What if you put it all in double quotes instead of only the first and last part?

Not applicable
Author

No change, I just tried it

manoj2102
Contributor III
Contributor III

Have you achieved the same.? I also have the same requirement of executing Curl command from Qlik Sense to fetch Search ID from Splunk and put that ID in the URL. As its creating new search ID every day so want it dynamic to get daily refreshed data.

nemanja.momic

Regards

Manoj Deshmane