Hi everybody!
I want to have the proxy endpoint suffix like /session/open and real endpoint suffix /validateCredentials.
I create
<Flow name="create">
<Description/>
<Condition>(proxy.pathsuffix MatchesPath "/session/open") and (request.verb = "POST")</Condition>
<Request>
<Step>
<Name>SaveMessageId</Name>
</Step>
<Step>
<Name>GetUsernameFromJSON</Name>
</Step>
<Step>
<Name>ReplaceSuffixForSessionOpen</Name>
</Step>
</Request>
<Response>
<Step>
<Name>OpenCache</Name>
</Step>
</Response>
</Flow>
And create the step ReplaceSuffixForSessionOpen
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage async="false" continueOnError="false" enabled="true" name="ReplaceSuffixForSessionOpen">
<DisplayName>ReplaceSuffixForSessionOpen</DisplayName>
<Properties/>
<AssignVariable>
<Name>proxy.pathsuffix</Name>
<Value>/validateCredentials</Value>
</AssignVariable>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
<AssignTo createNew="false" transport="http" type="request"/>
</AssignMessage>
I assume that then proxy suffix will be added to target endpoint URL, and be http://109.166.244.140:9763/webRS/services/user/validateCredentials instead of http://109.166.244.140:9763/webRS/services/user/session/open. What am I doing wrong?