๐
Basic auth header
A username and password as an Authorization header
Open in bodeDeveloper ยท 4 blocks
HTTP Basic auth sends your username and password Base64-encoded, in one header. This builds that header: type user:password on the left, copy the finished line on the right.
Base64 is not encryption โ anyone who sees the header can decode it. Basic auth is only safe over HTTPS, where the transport does the protecting.
The Template block is what turns the encoded value into the whole line, which is the part people usually paste together by hand.
The note it comes with
Basic auth
Type user:password on the left. Paste the header on the right into curl, Postman or a test script.
Nothing is sent anywhere.