Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Rest query authentication

I  try to connect to a rest api via query authentication. 

Example:

https://www.abc.de/authentication?username=loginname&apikey=17208879

 

I have  created a tRestClient to request the login. This query works fine. I then added a second tRestClient with the condition that if the first tRestClient works fine then start the second tRestClient. But the second tRestClient does not work.

 

Do you know how talend works with a query authentication?

 

Thanks in advance

Mathias

Labels (4)
2 Replies
Anonymous
Not applicable
Author

Hi,

What's the error message you are getting when start the second tRestClient? Are you using onsubjobok connection type between your first tRestClient and the second?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi,

 

Is this issue resolved for you or any workaround there ?

 

I am facing same issue when using two tREST calls. 

First tREST authorizing user call is succeeding with success result.

Second tREST call is not able to fetch expected results as first tREST call authorization is not passed to second tREST call.

There's no error message in Talend on the whole job but the XML output from second tREST says authorization failed.

I have added OnSubjobOk to link both tREST calls.

 

Appreciate suggestions on this.

 

Regards,

Ashok