Set up a proxy server
You can set up the Sandbox Client to communicate with the gateway via a proxy server. It works by using HTTP CONNECT to create a secure connection.
-
Open your
config.json
file. -
Modify the file to include your proxy server settings.
"proxy": { "host": "127.0.0.1", "secure": false, "port": 2015, "user": "user", "pass": "abc123" },
When adding a proxy section, you must also add
useProxy: true
to theoriginMappings
section."originMappings": [ { "useProxy": true } ]
Updated about 2 years ago