You want to interface Clarity On-Prem with an external REST API.
However when making API call from Clarity - the response is always NULL/Blank.
How can you enable a proxy server?
Release : 16.0.3, 16.1, 16.1.1
Here is a partial sample that may help
<core:new className="java.net.InetSocketAddress" var="socketAddress">
<core:arg type="java.lang.String" value="proxy.example.com"/>
<core:arg type="java.lang.Integer" value="80"/>
</core:new>
<core:getStatic var="proxyType" className="java.net.Proxy.Type" field="HTTP"/>
<core:new className="java.net.Proxy" var="httpProxy">
<core:arg type="java.net.Proxy.Type" value="${proxyType}"/>
<core:arg type="java.net.InetSocketAddress" value="${socketAddress}"/>
</core:new>
<core:new className="java.net.Proxy" var="httpProxy">
<core:arg type="java.net.Proxy.Type" value="${proxyType}"/>
<core:arg type="java.net.InetSocketAddress" value="${socketAddress}"/>
</core:new>