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: 
Anonymous
Not applicable

Consuming Climatempo API with tREST

good morning, how are you ?

I need to consume an API and get a JSON. I need to know the information from JSON, however, I couldn't do it. I used tREST but it didn't work. In POSTMAN it works normally

0683p000009M8ht.png

 

 

In TALEND I used a tREST but does not retrieve the information

 

0683p000009M8hy.png

 

0683p000009M8V0.png

 

when I exit JSON, I get this error.

 

0683p000009M8Nv.png

 

I tried several solutions pointed out in this forum and others, but it did not work and many showed components that do not have Talend that I use

0683p000009M8i3.png

 

 

Thank you in advance

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Your tRest is misconfigured. You are putting the token as a header, which is different than a query parameter. 

I have it successfully working with tRestClient. Try the following configuration0683p000009M8YE.png

Also, you may consider hiding your token.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Your tRest is misconfigured. You are putting the token as a header, which is different than a query parameter. 

I have it successfully working with tRestClient. Try the following configuration0683p000009M8YE.png

Also, you may consider hiding your token.

Anonymous
Not applicable
Author

I do not have the tRESTClient component. How can I download it?