InsecureRequestWarning is released

The question describes
InsecureRequestWarning: Unverified HTTPS request is being made to host 'test-api.letsfit.com'. Adding certificate verification is strongly advised.
how to remove the InsecureRequestWarning warning?

Just add the following code

import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning

requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

Guess you like

Origin blog.csdn.net/weixin_44102466/article/details/109997362