REST services support the http.nonProxyHosts JVM parameter - Mendix Forum

REST services support the http.nonProxyHosts JVM parameter

8

REST services currently don't support the http.nonProxyHosts JVM parameter.


Because of this, we have to do the followings before we do all of the REST service call that calls a non-proxy host;

In our microflow, just before we do the REST service call that calls a non-proxy host, add a custom java action. In that action, do the following: System.setProperty("http.proxyHost", ""); System.setProperty("http.proxyPort", ""); Then add a custom Java action after the REST service call that sets them back.

 

Kind Regards,

asked
2 answers

In version 7.15.1, you can dynamically set whether you want to use a proxy or not.

https://docs.mendix.com/refguide/call-rest-action

Created

JVM properties http.proxyHost and http.proxyPort are supported,

Why only nonProxyHosts is not supported?

 

Created