how to create fault rule for all endpoint

hii all,

i have a proxy as a no target so in this proxy their are no endpoint so in this proxy if i call as a www.proxy/add so it will give 200 and whatever we type if will give 200 status code

so i added there endpoint /add /sub /mul

and i want my api proxy will give 200 only on this endpoint and all the xyz endpoint rule it give 404 error

0 1 56
1 REPLY 1

You could have one or more conditional flows for the endpoints you have mentioned.

You could also have another flow without any conditions that will behave as your default (catch all) flow, and this flow can contain policies relating to raising an error such as a RaiseFault policy to return a 404.

Only one flow will execute - the first one with a condition that evaluates to true, or one without any condition.