Details
Currently I have the problem that I cannot accept the certificate on our test page. We use Python requests for our test cases and unittest from Python directly. We have also excluded the acceptance of certificates as described below.
I used Python Request in the latest version and Python in the latest version for the query.
I have actually already excluded the following, i.e. the reminder of the certificates on my test page. See code example. But I get a 405 error after I query the request.
import requests
import logging
from urllib3.exceptions import InsecureRequestWarning
import certifi
import urllib3
# Suppress only the single warning from urllib3 needed.
requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning)
# Set `verify=False` on `requests.post`.
requests.post(url='https://tomypage.html', data={'bar':'baz'}, verify=False)
url = "https://tomypage.html"
Error Message
405 Client Error: Method Not Allowed for url: https://tomypage.html