Hello,
I am trying to route to a target endpoint using route rules, but unable to do so.
I am putting the condition: <RouteRule name="MyRoute"> <Condition>request.header.routeTo = "TargetEndpoint-1"</Condition> <TargetEndpoint>TargetEndpoint-1</TargetEndpoint> </RouteRule>
in pre flow and naming the target end point as "TargetEndpoint-1".
The error which I see on web page is: Cannot GET /TargetEndpoint-1.
Please help