aacerox / node-rest-client

REST API client from node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Access behind a corporate proxy

egarciam opened this issue · 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.

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