Hello,
When using API proxy conditional statements for routing target endpoint with 'RouteRule', is it possible to specify 'No Target' as well and then how can I do it? It is required to route a call in a single API proxy with bypassing the Backend Service just like No Target for some of the methods called, while other calls are to be handed to Backend Service as defined. If there is no way can we just set this to call to an empty API proxy prepared separately?
Regards,
Toshi
Solved! Go to Solution.
Hi Toshi,
For such scenario, No need to define TargetEndPoint. Pl define RouteRule as below:
<RouteRule name="NullRoute">
<Condition>{MethodName} = "methodName"</Condition>
</RouteRule>
Specify corresponding variable at {MethodName}.
Cheers, Rajesh
Hi Toshi,
For such scenario, No need to define TargetEndPoint. Pl define RouteRule as below:
<RouteRule name="NullRoute">
<Condition>{MethodName} = "methodName"</Condition>
</RouteRule>
Specify corresponding variable at {MethodName}.
Cheers, Rajesh
Hi @rdoda,
Thank you so much for the answer.
This would really help me.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |