Get API call using Bearer Token.

Hi Team,

Can someone please help me in configuring a Get Request node. where I have created Bearer Token and pass through the Get node. However I got the 401 error. where as same token working in postman and i got the 200 ok in postman tool.

Here is my config in Get request Node:

Thanks in advance.

Hello Team,
I’m new to KNIME platform, i’m able to generate the Bearer token by using Postman tool to pass thought the below attributes.
Client Id, client secret key, grant-type:“client_credentials”, type:x-www-form-urlencoded and also added .cer & .key certificates in settings.
However, I’m unable to find all these options in post request node in KNIME.
Can someone help me, how to generate Bearer token via post request in KNIME.

Hi @kotlapullareddy and welcome to the forum.

While we wait for someone to jump in and assist, I combined both of your topics into this one. Please only create one topic per question at a time, to help us keep the forum tidy. Thanks! :slight_smile:

Hi @kotlapullareddy

Regarding how to generate the bearer, there is some reference material on the forum from other users who had the same issue. Client Id, client secret key, etc. can go directly into the request body as flat text.

Looking at the ADP documentation for the endpoint you’re trying to reach, you probably also need to pass the Content-Type application/json parameter in the request header.

Thanks for your help @ArjenEX , by default “Content type”: application/json,
image

They also mention:

Can you try using the SSL checkboxes in the POST request connection settings:

image

@ArjenEX : already these were selected,

May I know, how to add the .cer & .key certificated into KNIME environment rather than local PC?.

Looks like something for the keystore:

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