[Python] How do I disable the security certificate check in Python requests

Discussão em 'Python' iniciado por Stack, Janeiro 25, 2025.

  1. Stack

    Stack Membro Participativo

    I am using

    import requests
    requests.post(url='https://foo.example', data={'bar':'baz'})


    but I get a request.exceptions.SSLError. The website has an expired certficate, but I am not sending sensitive data, so it doesn't matter to me. I would imagine there is an argument like 'verifiy=False' that I could use, but I can't seem to find it.

    Continue reading...

Compartilhe esta Página