Hi
I have question regarding API proxy
Is there a way to configure same proxy with different target URL ? or can we use the same proxy to target to 2 different version of target URL?
e.g. I have API with target Url like ..../v1/test and after an year if we have another version of same API with little change with url like.../v2/test and we want to keep both versions active, should we create a separate APi proxy for that ?
Is there a way to configure a proxy with multiple different target URLs ?
thanks
Yes, you can do that.
Check out the RouteRule capability.
A single proxy might today route to /v1/backend .
In 6 months, maybe you launch a new version of the backend. /v2/backend.
At this point you could modify the existing proxy to *conditionally* route to the /v2/backend.
The condition could be based on:
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |