Adding the Authorization header - Cloud

Talend Cloud API Tester User Guide

Version
Cloud
Language
English
Product
Talend Cloud
Module
Talend API Tester
Content
Design and Development > Testing APIs
Last publication date
2024-03-27

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.
Authorization dialog box.
The authorization header with the encoded username and password.
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> .
Environments dialog box.

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