The documentation says:
Path computed from masking the listenerPath and taking the difference. Note that this is only calculated when the null otherwise.
It seems this sentence is not complete so I am unsure of the expected value of maskedRequestPath. If my request is http://localhost:8081/hello/world?abc=def and my HTTP Listener configuration is:
<http:listener-config name="HTTP_Listener_config" doc:name="HTTP Listener config" doc:id="dc9" >
<http:listener-connection host="0.0.0.0" port="8081" />
</http:listener-config>
what should be the expected output of this transform message?
%dw 2.0
output application/json
---
{
"maskedRequestPath": attributes.maskedRequestPath
}
I would like to know if it is "" (null) or "/".