Having difficulties setting up Post Request to Google API requiring OAuth2.0

Hello @qqilihq, thank you again for your help. I’ll report back with how the Palladian test goes. Here is a quick summary of progress:

I’m attempting to use POST Requests with some Google API services and trying to authenticate with OAuth2.0 or some other means required by Google, namely I am trying to use this API which required POST requests (vs. just GET) Search Console API  |  Google Developers.

#1
I have tried the method in my original first post and I was actually able to resolve that error and was able to move onto next steps. Right now, I can run first 2 nodes but the 2nd POST Request node does not return Json and the 3rd node is not able to run. I updated the URL from https://www.googleapis.com/oauth2/v4/token to others like https://accounts.google.com/o/oauth2/v2/auth but no success.

image

#2
I tried what @ana_ved suggested and as above, there is an error with pyjwt.

#3
There are Python script implementation that many others have written and shared. They work as Python and I’m exploring to see how easy/difficult it is to replicate Python steps in KNIME. I don’t know Python so we’ll see. Same goes with Java, there are many example codes and process we may be able to copy over into KNIME?

Thank you so much for your help, @qqilihq!!

1 Like