Dynamic Endpoint functionality of API Cloud allows you to dynamically pick the backend to which each call is routed based on the call's properties.
For example, suppose you have an API that has two resources /countries and /regions:
And suppose the actual implementation of the functionality is at two different backends. /countries is implemented by first.backend.url and /regions by something.different.url.
Fear not, this is fairly easy to implement with API Cloud. You simply need to select Dynamic Endpoint as the Endpoint Type and upload the In Flow sequence that defines the rules to route the traffic:
In our sample scenario, the In Flow sequence might look similar to this:
<sequence name="dynamic_ep" trace="disable" xmlns="http://ws.apache.org/You can obviously define more complex rules if needed.
Do you have multiple backend services that need to become a single API? Dynamic Endpoints can get you going!