How to chain APIs using Azure API management

2019-08-07 05:41发布

问题:

How to chain multiple APIs on the same URL using Azure API management?

I have two APIs the user store and that user recources api.

I want to build rest api so resources will related to user.

Mycompany/users/dani@gmail.com/resources.

User store api is mycompany/users Resources api is mycompany/resources.

I dont want to build additional service that will consolidate this two apis.

Thanks

回答1:

You can create a single API in API Management that points to multiple different backend APIs. Use the set-backend-service policy to change the backend API for certain operations.