Skip to content

There are some option to set verify=False to requests? #529

@samueltcsantos

Description

@samueltcsantos

Environment

  • Operating System: Linux Xubuntu 16.04
  • Python version: 3.6

What you intend to do with scanapi ?

A want make a request to web server running locally with HTTPS enabled, but I need some way to make requests dont verify SSL.

I need something like that?
requests.post(url='https://example.com', data={'bar':'baz'}, verify=False)

Expected behavior ?

There are some option for me reach that, saying to requests include 'verify=False'?

I'm trying to avoid this error:

Error to make request https://127.0.0.1:443/auth/authenticate.
HTTPSConnectionPool(host='127.0.0.1', port=443): Max retries exceeded with url: /auth/authenticate (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)'),))

Thanks in advance!


scanapi has a discord server so feel free to join and say 👋 hello. Maybe share the issue link?

Metadata

Metadata

Labels

FeatureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions