0
点赞
收藏
分享

微信扫一扫

Base64 Authentication Python

花姐的职场人生 2022-09-26 阅读 273

 

python3

import base64
userpass = username + ':' + password
encoded_u = base64.b64encode(userpass.encode()).decode()
headers = {"Authorization" : "Basic %s"

 

参考

​​Base64 Authentication Python​​



举报

相关推荐

0 条评论