Basic Authentication provides the HTTP Basic Authentication
method. It requires entering a username and password in the configuration and sends the encoded values in the
Authorization header. A sample Basic authentication looks like this:
password fields are part of the
They are also prefixed by the hash
# character, which means they are stored encrypted.
If the API expects something else than a username and password in the
Authorization header, or if it requires
a custom authorization header, use the Default Headers option.
basic type of authentication has no configuration parameters. The login and password must be provided in the
config section of the Generic Extractor configuration.
Assume you have an API which requires you to use the HTTP Basic authentication to send the login and password in
Authorization header. Assume that your login is
JohnDo and password is
secret. The following
configuration solves the situation:
The following HTTP header will be sent:
Authorization: Basic Sm9obkRvZTpzZWNyZXQ=
See example [EX078].
© 2023 Keboola