Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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