Use Basic Auth for an applcation

I want to migrate my application from version 2 to version 3, I use http post with a basic auth to a specific url, In the new version I see many possibilities for Integration. I guess the correct one for me is webhooks but I’m not sure and I don’t know how to implement the authorization in the new version. Is there anyone to help?
Thanks in advance

The HTTP Basic Auth header can be constructed as:

"Authorization: Basic " + base64_encode(username + ":" + password)

I’m sure there are some online/offline tools that let you do this.

In the future, we could perhaps make it easier to do this directly in the Console (cc: @kschiffer)

It would look more like this:

Screen Shot 2021-10-11 at 17.23.16

The name of the header is “Authorization” and the value of the header is “Basic” followed by a space and then the base64-encoded username and password.

This base64 string can be constructed as follows:

% echo -n "username:password" | base64

Or if you’re comfortable with an online tool, there are several online base64 encoders, you can even ask your search engine to encode base64.

1 Like

Many thanks for your answer.
Everything’s working correctly.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.