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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
FrankGrimm
Partner - Creator
Partner - Creator

How can i use a API-token to connect to an external API

Hello together,

i would like to use the Raw API Request with an Bearer Token.

The Postman Code is

curl --location --request GET 'https://app.yyyxxx.com/api/v1/items' \
--header 'Authorization: Bearer qwreqerXhhOTKp8S0KOqeWK9VAm-Ys'
 
How can i transfere this call to the Qlik Cloud Service "Raw API Request"?
FrankGrimm_0-1664872213092.png

 

Thanks.

 

Labels (2)
1 Solution

Accepted Solutions
blaise
Partner - Specialist
Partner - Specialist

Use the CALL URL block where you can specify a header parameter - Raw API Request only works towards qlik cloud services api.

If your URL IS a cloud service url you do not need to specify the header parameter.

View solution in original post

3 Replies
blaise
Partner - Specialist
Partner - Specialist

Use the CALL URL block where you can specify a header parameter - Raw API Request only works towards qlik cloud services api.

If your URL IS a cloud service url you do not need to specify the header parameter.

Emile_Koslowski
Employee
Employee

More information on using the Raw API Request blocks can be found here: How to use the Raw API Request blocks.

More information on the Call URL block can be found here: Call URL block - Qlik Cloud Help

L_Zegwaart
Contributor
Contributor

I am trying to set up a CALL URL block to retrieve a token via POST, to use this in a chain of posts and eventually a get to retrieve and save a .csv 

In POSTman i easily get it to work. 

In a script editor via a rest connection i can get it to work up to the point of collecting the resulting url for the csv, but obviously can't download or save it that way.

And unfortunately i cannot find any post on this specific problem/route i have to take.

Lukas_Zegwaart_0-1763738279387.png

Thanks