python用requests发送https的请求时,有安全验证

python用requests发送https的请求时,有安全验证,将验证设置为false 即可verify=False

content = {‘login’: ‘1234567890’,
‘password’: ‘123456’}
r=requests.post(‘url…login’,verify=False,data=content)
print(r.status_code)

猜你喜欢

转载自blog.csdn.net/fnms88/article/details/83106097
今日推荐