Exercise 2 – using Azure API Management to proxy a public API
When we design a solution to consume one or more APIs, communication between the different services, systems, and scripts will have to go through an API. Before describing these communications and designing our APIs, we must take into consideration several elements, such as the following:
- The route structure
- Authentication and authorization
- Rate limiting
With Azure API Management, before data is received or sent, you can easily proxy an existing API and modify the input and output.
In most cases, we want to modify the structure of an existing public API, add authentication, limit the number of incoming requests, or even cache the results obtained. This is what we will cover in this section, and we will discover the ease of managing an API and consuming it quickly.
We can use an Azure Logic Apps proxy, Azure App Service, or Azure Functions apps, but in our example, we will use a public...