-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to configure proxy with authentication? #894
Comments
try something like |
@tekay thank you, this worked well |
can u please past the content of the file where you made changes ? and if you know, please tell me how to bypass the request to another component which is runnig on XXXX port ? |
@uvenkat19 my code looks like: //...some stuff to get my proxy config (credentials, host and port)
var proxyUrl = "http://" + user + ":" + password + "@" + host + ":" + port;
var proxiedRequest = request.defaults({'proxy': proxyUrl});
proxiedRequest.get('http://foo.bar') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, i need to configure my proxy with authentication, something like this:
How can i set this proxy configuration when i make a request?
I tried but got no success, if anyone can give me an example would be a great help
thanks
The text was updated successfully, but these errors were encountered: