Hi All,
Im passing a request id in header with some values.
My question is , is there anyway in which I can validate the request id using shared flow.
I dont want to wright any conditions in the proxy, say if the request id is null the proxy should direct call the shared flow which will return the proper error.
Sure, you can validate input within a shared flow.
A shared flow is just a callable sequence of policies.
A shared flow can include conditions and can the conditions and policies within a shared flow can reference context variables, which themselves contain the values of headers, queryparams, and so on.
so, yes.
you can do what you want.
Did you try it?
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |