In this article, we'll create an Azure API Management instance to import and configure the OpenAPI specification for the backend API using the Azure portal. Also, test the API and operations to verify that they function correctly and respond as expected. After this exercise, you will be able to import the API into the API Management and test it using the Azure portal.

The following tasks were performed in this exercise:

Create and Retrieve Azure API Management Instance

Let’s first create a new Azure API Management instance by using the Azure portal. First step is to sign in to the Azure portal to begin the work.

Create API Management Instance

Retrieve API Management Instance

One can go to a particular existing API Management instance using following steps:

Import and Publish API

Now, after creating an instance let’s use Azure portal to import an API in API Management instance. Perform the following steps one by one to import and publish an OpenAPI specification backend API.

That’s it. API has been imported and configured successfully. Next task is to test the imported API.

Test API

Let’s test API operations from Azure portal. It provides convenient way to view and test API operations.

Clean up resources

After finishing the exercise its recommended to delete cloud resources are being created to avoid the unnecessary resource usage and any future cost. Deleting a resource group will delete all resources contained within it. Perform following steps one by one into Azure Portal to achieve this:

Summary

Here, a complete process flow is described in detailed to import and configure API with Azure API Management by using Azure portal. First, created an Azure API Management instance. Then, imported and configured the OpenAPI specifications back-end API by using Azure portal. Later, tested API and operations to verify work correctly and response. At the end, resources cleaned up. Now, one will be able to import API into API Management and test API by using Azure portal.