Skip to content

Instantly share code, notes, and snippets.

@hunzo
Created May 1, 2024 05:50
Show Gist options
  • Save hunzo/2d9b482cd62068c23fd6408e7055da25 to your computer and use it in GitHub Desktop.
Save hunzo/2d9b482cd62068c23fd6408e7055da25 to your computer and use it in GitHub Desktop.
python requests call https
import requests
import urllib3

urllib3.disable_warnings()  # Disable Warnning "InsecureRequestWarning"

URL = "https://httpbin.org/get"

ret = requests.get(URL, verify=False)

print(ret.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment