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: 
chr005
Partner - Contributor II
Partner - Contributor II

Creating a REST connection with client credentials with Qlik Sense on prem

Dear experts,

I'm new to Qlik and struggle to create a connection via REST. I read  some article about REST API, looked into Qlik and found this information

https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Create...

but I do not understand, how to setup the connection.

I have the URL of the destination and a client-id + secret key. I also know about the proxy details. I also think, that this should get cretaed as a GET request.

Can anybody help me and tell me, what I need to fill in? Especially on "Query parameters" and "Query headers"?

Thank you.

best regards

Labels (1)
4 Replies
henrikalmen
Specialist II
Specialist II

It depends on the requirements of the API you are connecting to. In a GET request, query parameters are the stuff after a question mark in the url, like example.com/api/v1/endpoint?parameter1=value1&andsoon=continue

Headers are stuff sent to the api server in a more "invisible" way. Sometimes it could be for example different values for "Accept" or "Content-Type" that could be used for telling the API in what format you want the response.

But it all depends on the API. There should be documentation you can read, or you'll just have to experiment...

chr005
Partner - Contributor II
Partner - Contributor II
Author

HI,

thx for the quick response. 

Maybe one more question related to that topic. I read somewhere about an authentification methide via "oauth". Probably this is part of the authorization process with client credentials.

Do you know anything about this and how it works in Qlik Sense?

Thank you

henrikalmen
Specialist II
Specialist II

OAUTH is a completely different authentication method that involves multiple steps. Check out this post as a start: https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/td-p/1846711

chr005
Partner - Contributor II
Partner - Contributor II
Author

Thank you