Python/requests
< Python
requests
import requests requests.post(url='https://foo.example', data={'bar':'baz'})
Ignore SSL
requests.get('https://bad-ssl.com', verify=False)
Turn off all warning messages:
import requests requests.urllib3.disable_warnings()
As of Python 3.6+ can turn off the specific warning message too:
import warnings warnings.filterwarnings("ignore", message="Unverified HTTPS request")