Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Http Request macro

When I try to execute this procedure, I've got an "Permission Denied" error.

I've also set System Access security and "Allow System Access".

Sub HttpRequest

 

          Set xml = CreateObject("Microsoft.XMLHTTP")

          xml.Open "POST", "http://www.http://blabla.com/api/test.php", False

          xml.Send()

          MsgBox xml.responseText

End Sub

Where's the problem?!?!

Rob

3 Replies
stephencredmond
Partner - Specialist II
Partner - Specialist II

Hi Rob,

You need to set both of the drop-downs.

Requested Module Security:  System Access

Current Local Security: Allow System Access

When I do that, your code works (and I put back in the quotes).

Regards,

Stephen

Stephen Redmond is author of QlikView for Developer's Cookbook

He is CTO of CapricornVentis a QlikView Elite Partner. We are always looking for the right people to join our team.

Follow me on Twitter: @stephencredmond

Not applicable
Author

Hi Stephen,

thank you for the quick response.

I've set both drop-downs as you say, but the error still remains.

What other tests can I do?

Screen Shot 2013-06-28 at 15.45.49.png

Rob

stephencredmond
Partner - Specialist II
Partner - Specialist II

Hi,

Does it work via CScript?  Perhaps there is something else blocking access that is not connected with QlikView.

As I said, it works on my PC.

Regards,

Stephen