Skip to content

How to connect via a corporate proxy #15

Open

Description

@SignifyLeo

We want to run our Python scripts on a company server and connect to the Usabilla API via our corporate proxy. Although having found and read the similar question #35 for JS, it is not clear how to enable this with Python.

Activity

  1. fooku18 commented on Jul 29, 2019

    @fooku18

    the client queries the api with urllib, so setting the proxy in your environment variables should work. Something like this will do it:
    import os os.environ['http_proxy'] = '{YOUR_CORPORATE_HTTP_PROXY}' os.environ['https_proxy'] = '{YOUR_CORPORATE_HTTPS_PROXY}'

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