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: 
kaleem287
Contributor
Contributor

Qlik Sense REST Call Using POST/JSON

Hi Everyone,

I am trying to send http post(json) request from qlik sense(load editor) to some python script but getting error message. Please support to fix this error.

REST Connection: Successful
Note: URL is tested via postman and working perfectly 

Please find below code snippet and snap for error message. 

LIB CONNECT TO 'REST_httpswww.###########';

RestConnectorMasterTable:
SQL SELECT
"username",
"password"
FROM JSON
WITH CONNECTION (
HTTPHEADER "Content-Type" "application/json",
METHOD "POST",
URL "https://www.abc.com/test.php",
BODY '{"username":"value1","password":"value2"}'
);
qlik-sense-rest-error.png

Labels (5)
2 Replies
SterreKapteijns
Partner Ambassador
Partner Ambassador

SunilChauhan
Champion II
Champion II

Play around option you have while fetching script. Like get / post and other option that will resolve your issue.
Sunil Chauhan