5.01-requests_auth

2020-09-17 10:34:29 浏览数 (1)

代码语言:javascript复制
import requests

# 发送post请求
data = {

}
response = requests.post(url, data=data)


# 内网 需要 认证
auth = (user,pwd)
response = requests.get(url,auth=auth)

0 人点赞