Adding the Authorization header - Cloud

Talend Cloud API Tester User Guide

Version
Cloud
Language
English (United States)
Product
Talend Cloud
Module
Talend API Tester
Content
Design and Development > Testing APIs

Talend Cloud API Tester can automatically encode your credentials in base64.

In the request editor, you can click Add authorization in the HEADERS section to generate an Authorization header and encode your username and password in base64.
You cannot use expressions in this dialog box. If you want to use environment variables, you can create a variable named userpassword for example, and add your credentials as follows in the Value field: <username>:<password> .

You can then enter the following value in the Authorization header to encode the variable in base64: Basic ${"userpassword".base64()}.