HTTP Basic Authentication

Authenticating API requests that require HTTP Basic Authentication

HTTP Basic Authentication is a type of authentication where the client sends an Authorization header with a Base64 encoded username and password.

For some services, the username or password might be blank.

PixieBrix has a generic integration definition @pixies/integrations/auth-basic for calling APIs that require HTTP Basic Authentication.

Converting a cURL username command line option to PixieBrix

If you're coming from cURL, the username/password is what is provided to the -u or --user command line flag:

curl -u username:password

Last updated