Extracting a token using knime

i have a url when i click that url after few secs a text file will be downloaded and that text file contains a bearer token and that token refreshes for every 60mins i want to extract that token and need to use as a header for api request without Ui interactions.
if i’m using get request node for the url i’m getting page information as a response not the bearer token can someone help me out with this.

Hello @Gella_Gayathri,

I believe this can be perfomed using the KNIME Web Interaction (Labs) nodes.

Use the Web Interaction Start node to open the browser (headless browser is an option) then the Navigator node to go to the URL and then use content Retreiver to get the token details.

Best,
Keerthan

1 Like

Hii @k10shetty1,
when i’m using web interaction start node i’m getting error with driver i’m unable to reslove this.
image
I have downloaded driver as well.


Thanks in advance

Hello,

You would need to add a path environment variable as explained here.

Best,
Keerthan

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.