Search⌘ K

Deploying the API to Azure Function App

Explore how to deploy your image processing API to an Azure Function App, test API functionality using Postman, and leverage Application Insights to monitor real-time transactions and logs. This lesson guides you through publishing, testing with file uploads, and verifying data integration in Azure SQL before cleaning up resources.

Deploying our API

  • First of all, run the application given below, then open a new terminal by clicking “+” and enter the following command to sign in to Microsoft Azure:
Shell
az login --use-device-code
  • Now, set the context of Azure CLI to our desired subscription using the following command:
Shell
az account set -s $subscriptionId
  • And now, run the following commands to publish the Function app:

Shell
cd usercode
func azure functionapp publish $functionApp --force

And in a few minutes, our image describer API will be published in the URL below:

Shell
https://<function-app-name>.azurewebsites.net/api/imagedescriberapi

Note: Copy the ...