K0nkere / DL_Dice-detection-project

DnD dice detection with CNN and transfer learning / Project for ML Bookcamp
0 stars 0 forks source link

How to: Отключение проверки сертификатов SSL #29

Open K0nkere opened 5 months ago

K0nkere commented 5 months ago
from requests.packages.urllib3.exceptions import InsecureRequestWarning
# Disable SSL certificate verification warning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
# Make the request with SSL certificate verification disabled
# response = requests.post('<endpoint>', verify=False)