Adding the Authorization header
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()}.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!