Search
 
SCRIPT & CODE EXAMPLE
 

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)
Comment

PREVIOUS NEXT
Code Example
Python :: python datetime move forward one day 
Python :: Update modules within the requirements.txt file 
Python :: 2d array in python 
Python :: python add strings 
Python :: arithmetic in python 
Python :: python test type 
Python :: Create chatbot in Python - Source: NAYCode.com 
Python :: image blur in python 
Python :: map python 3 
Python :: tk is not defined python 3 
Python :: python elapsed time in milliseconds 
Python :: how to rename files python 
Python :: python replace with something else 
Python :: Check status code urllib 
Python :: specific mail.search python UNSEEN SINCE T 
Python :: sort dictionary by key 
Python :: terminal output redirect to a file 
Python :: list reverse method in python 
Python :: tkinter include svg in script 
Python :: pytest - parameterizing tests 
Python :: time in python code 
Python :: sum of array in python 
Python :: python chat 
Python :: import this 
Python :: python undefined 
Python :: multiple plot in one figure python 
Python :: raw input example python 
Python :: dict comprehension 
Python :: Python random integer number between min, max 
Python :: pyhton map 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =