HTTP Request with Basic Auth Credentials

This page shows how to make an HTTP request with Basic auth credentials. Try it yourself with ReqBin online HTTP Client.

Query Params

The authorization header will be automatically generated when you send the request. Read more about HTTP Authentication.

Headers

HTTP Message

Generate Code Snippets for HTTP Request Basic Auth Credentials Example

Convert your HTTP Request Basic Auth Credentials request to the PHP, JavaScript/AJAX, Node.js, Curl/Bash, Python, Java, C#/.NET code snippets using the ReqBin code generator.