I have created multiple target-end points based on my back-end servers. Each target end point has a fixed URL.
URL is configured as -
<HTTPTargetConnection> <URL>https://example.com/test/</URL> </HTTPTargetConnection>
I have noticed that "proxy.pathsuffix" is automatically getting added to url (
https://example.com/test/). How can I avoid this?
Regards,
Kamesh
Solved! Go to Solution.
In order to do this you need to use JavaScript and set a variable. The code would be:
context.setVariable("target.copy.pathsuffix", false);
Similar to the javascript above, we are doing this via an AssignMessage policy in the target endpoint request flows:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <AssignMessage name="AssignMessage.DisablePathCopy"> <AssignVariable> <Name>target.copy.pathsuffix</Name> <Value>false</Value> </AssignVariable> </AssignMessage>