Answers for "python3 base64 encode basic authentication"

0

python3 base64 encode basic authentication

userpass = username + ':' + password
encoded_u = base64.b64encode(userpass.encode()).decode()
headers = {"Authorization" : "Basic %s" % encoded_u}
Posted by: Guest on February-26-2020
0

python3 base64 encode basic authentication

alll
run
Posted by: Guest on September-08-2021

Code answers related to "BASIC"

Browse Popular Code Answers by Language