Question
Morgan Stanley
Morgan Stanley
IN
Morgan Stanley
Posted: Apr 3, 2020
Last activity: Apr 10, 2020
Last activity: 10 Apr 2020 12:23 EDT
Closed
Setup Proxy for a specific REST call
How do i configure a REST call to go thorugh a Proxy for a specific call only.
I have read about setting the http proxy parameters at JVM level. However, my requirement is to have the proxy for only a single REST call others should function as usual.
It works pretty fine if i add below JVM parameters:
http.proxyHost=abcd.com
http.proxyPort=7625
But i want to apply these settings for a specific REST service not for all the services.