Python/requests: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

14 May 2024

  • curprev 01:3701:37, 14 May 2024Kenneth talk contribs 522 bytes +522 Created page with "== 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") ref: https://stackoverflow.com/questions/15445981/how-do-i-disable-th..."