I am new in azure web app and having some issue with hosting HTML on azure portal and ajax call. I am having two critical issues.
First issue, I have a HTML page which I want to host on azure web app. Running the below code works but eventually it hosts my HTML on windows OS.
az webapp up -n surveyordemohtmlpage --html -g MyResource-Group --plan MyPlan -l westeurope
I have another flask app which I have hosted on linux OS in azure web app. So, I need to host the HTML with same os (linux) similar like flask web app.
The reason behind is that HTML page will call that flask web app using ajax. So, I think both needs to be in same domain.
Moving to my second issue, that how will I use ajax call in HTML page? should I use URL "https://myflaskapp.azurewebsites.net/flaskfunction" to call the flak web app?
Any suggestions will help here.
Thanks in advance.