node-rest-client icon indicating copy to clipboard operation
node-rest-client copied to clipboard

Access behind a corporate proxy

Open egarciam opened this issue 8 years ago • 1 comments

Hi, I've found your module and suits me very well, however I'm trying to use it behind a corporate proxy and while npm, node, etc behave well with env http_proxy and https_proxy I see no way to make this work with node-rest-client. The config is as follows:

export http_proxy=http://proxy:8080
export https_proxy=http://proxy:8080

please notice both variables using same http protocol to access the proxy.

The proxy option is not working either as the final https url is trying to use ssl and I see no way of making it use the proxy over http.

node is v4.4.7

Any help will be appreciated.

K.R.

egarciam avatar Mar 08 '18 15:03 egarciam

We are also facing the same issue. Any solution would be highly appreciated.

manandkumaar avatar Oct 06 '21 12:10 manandkumaar