Rest query authentication

One Star

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

Moderator

Re: Rest query authentication

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

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Rest query authentication

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

 

 

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch