5.01-requests_auth

import requests

# 发送post请求
data = {

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


# 内网 需要 认证
auth = (user,pwd)
response = requests.get(url,auth=auth)
posted @ 2019-03-26 20:43  hank-li  阅读(181)  评论(0)    收藏  举报