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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Make request to a rest API

Hi all,
I'm new in Talend and I,m a bit lost for the moment, 0683p000009MA9p.png
My problem is that I need to make request to an Rest API and download the response in a csv in my computer, are there an example of this issue in somewhere? I have been looking for some example and for the moment I haven't found any.
Thanks in advance
Labels (3)
10 Replies
Anonymous
Not applicable

If you're using basic authentication, you'll add an HTTP Header called "Authorization" in the tRest configuration. The value for Authorization will be the string "Basic " (note the space after 'c') followed by a base64 encoded username 0683p000009MAB6.pngassword value. Linux has a command base64 which will encode standard input or a file.
For example
Http Headers:
name value
"Authorization" "Basic OIhagjaphipagiyq=="