Connecting via a Corporate Proxy

The Cloud CMS drivers support connectivity through a corporate proxy. The means of doing so are slightly different depending on which driver you're using.


Node.js

The Cloud CMS Node.js driver detects the following environment variable:

HTTP_PROXY

If this environment variable is specified, all API calls with be routed through the proxy server at that location. This proxy server may support either HTTP or HTTPS.

For example, you may set the environment variable like this:

HTTP_PROXY=https://127.0.0.1:4000

There are no other requirements. The driver will detect this parameter and route connections through your proxy server.

Java

The Cloud CMS Java driver detects the following environment variables to support an HTTP proxy server:

http.proxyHost
http.proxyPort

And the following variables can be used to describe an HTTPS proxy server:

https.proxyHost
https.proxyPort

For example, you may set the environment variable like this:

http.proxyHost=127.0.0.1
http.proxyport=4000

There are no other requirements. The driver will detect these parameters and route connections through your proxy server.