Is there any way to handle wrong path exception.
For example I have 1 proxie with path /v1/test and v1/tset. If I invoke /v1 it return me error in Apigee format that unable to identify proxy for host /v1. And I want to change it to my format. What are the best option to do it?
Solved! Go to Solution.
I have added new proxie on / path to catch invalid path error. As I understand Apigee execute Proxy APIs from longest Base Path to shortest. It works.
I have added new proxie on / path to catch invalid path error. As I understand Apigee execute Proxy APIs from longest Base Path to shortest. It works.
Yes, so you can register a proxy to listen on / , and that one can return errors in the format you desire. All other proxies with longer basepaths will receive their intended messages and will be able to handle them correctly.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |