aacerox / node-rest-client

REST API client from node.js
MIT License
377 stars 132 forks source link

Access behind a corporate proxy #183

Open egarciam opened 6 years ago

egarciam commented 6 years ago

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 envhttp_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.

manandkumaar commented 3 years ago

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