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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
RafaelBarrios
Partner - Specialist
Partner - Specialist

Connect to a data source through an API

Hi Qlikers,

Hope you can help me with this.

I am trying to connect from Qlik Sense to an app to extract data through an API. Basically I use 2 methods, the first to authenticate and the second to perform the query.

When I make the calls through the Postman program, all methods work fine

 

For the authentication process, the API documentation describes that the only thing we must specify is:
Headers
Content-Type:application/x-www-form-urlencoded

Body
client_id:Interface4PMS_LDS
grant_type:password
username:xxxxxxx
password:yyyyyy

RafaelBarrios_1-1676931963471.png

 

And for the Query, we must use the retrieved token and the following parameters.

RafaelBarrios_2-1676932001044.png

 

The problem im having is that im not able to create the connection for the authentiation from Qlik Sense REST connector

RafaelBarrios_4-1676932296861.png

i guess im missing some header or body configuration as Postman retrive some configuration automatically.

 

Keep in mind that even when the authentication process does not work for me, the extraction does succeed if I use the token generated using postman

RafaelBarrios_6-1676932985585.png

RafaelBarrios_7-1676933263139.png

 

Please considere that the token expires and a new one needs to be generated after a few minutes.

 

Thanks in advance.

Best regards,

Labels (3)
0 Replies