How to deploy Java Spring Boot WAR File and access the REST APIs on Azure?

Kailash Pasumarthy 0 Reputation points
2023-01-31T02:36:23.09+00:00

Hi,

I have deployed my Java Spring boot Application as a WAR file on Azure. The Spring Boot Application contains REST Controller with REST APIs. I'm able to access the REST APIs locally from Postman Collection. Please view the attached File.

I have read through the documentation cited on

https://learn.microsoft.com/en-us/azure/app-service/quickstart-java?tabs=javase&pivots=platform-linux-development-environment-maven#1---use-azure-cloud-shell

Now I have deployed the application as WAR on Azure. The application is starting well on Azure. Please view the attached screen shot.

How can I access my WAR API on Azure?

API End Point : https://kpjavaspringboot.azurewebsites.net/shiva1234

JavaSpringBootHttpsLocalHostAPIs

JavaSpringBootOnAzureAppService

Any help is highly appreciated!

Thanks,

Kailash

Azure Spring Apps
Azure Spring Apps
An Azure platform as a service for running Spring Boot applications at cloud scale. Previously known as Azure Spring Cloud.
109 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,832 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
762 questions
{count} votes