Get Authorization Bearer Token at tRESTRequest

Highlighted
Seven Stars

Get Authorization Bearer Token at tRESTRequest

Hi!

 

I would like to get the token that Postman sends to my webservice. 

 

Token.PNG

 

I know how to get the header using comment "header" but it's not the same, right?

 

header.png

 

Do I have to enable "Use Authentication" or something? If this is the case what else should I do?

 

Thanks.

Highlighted
Community Manager

Re: Get Authorization Bearer Token at tRESTRequest

Hi 

You can use a tRest to call API to get authorization token, the token will be returned in body string, and then use a tExtractJsonField to extract the token value. 

 

Regards

Shong

 

----------------------------------------------------------
Talend | Data Agility for Modern Business

2019 GARTNER 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

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read