Skip to content

How to disable ssl verification for ai.text_request() #60

@Rakin061

Description

@Rakin061

In the python text examples

request = ai.text_request()
request.lang = 'de' # optional, default value equal 'en'
request.session_id = "<SESSION ID, UNIQUE FOR EACH USER>"
request.query = "Hello"
response = request.getresponse()

Is there any way to omit ssl verification for the text_request() and getresponse() methods.
As, I am using HTTPS, in the server side all the requests require ssl verification.

I need something like the request

requests.get('https://kennethreitz.com', verify=False)

So, text request and response going through api.ai will not check for any ssl certificate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions