How to Generate Basic Auth Headers
Basic Authentication
Basic Auth Format
HTTP Basic Authentication encodes username:password as Base64 and sends it in the Authorization header.
Frequently asked questions
Is Basic Auth secure?
Only over HTTPS. Base64 is encoding, not encryption. Never send Basic Auth credentials over plain HTTP.