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

 

 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now