主页
Python
Python Requests get() 方法
demo_requests_get_verify
运行 ❯
×
更改方向
保存代码
更改主题
import requests url = 'https://freew3c.com/python/demopage.php' #make the request with the path to a TLS certificate: x = requests.get(url, verify='folder/tlscertificate') print(x.status_code)
C:\Users\My Name>python demo_requests_get_verify.py
200