Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python requests no certificate example

import requests
import urllib3

# supress the insecure request warning output
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

url = "https://api.agify.io?name=bella"

# set verify option to False
response = requests.request("GET", url, headers=headers, verify=False)

print(response.text)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #requests #certificate
ADD COMMENT
Topic
Name
8+5 =