One Star sj1
One Star

Rest call for Google API

Hi all,
I just started using Talend.And i am having a little trouble in finding the components needed for a scenario where i need to do both post and get requests using OAuth. So can somebody share some ideas on how to use the java library(provided by Google APIs client libraries) to do OAuth 2.0 authorization for the rest call. 
Thanks for all the helps,

Re: Rest call for Google API

Please take a look at a related forum:
Best regards
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star sj1
One Star

Re: Rest call for Google API

Hi Sabrina,
Thanks for the suggestion. I tried to implementing the job as described in the link. But somehow the first time token is not getting generated rather throws an error as "s://
  "error" : "invalid_grant",
  "error_description" : "Code was already redeemed.""
Any idea whats causing the error?
Thanks again for the help.