Deploying and debugging the web service endpoint
In Chapter 4, Hosting, Securing, and Testing Fortune Cookie in the Cloud, you learned how to deploy the Fortune Cookie Webhook (Node.js server tier) to Microsoft Azure. You will follow the exact same steps to create a Microsoft Azure App Service to host the Henry's Kitchen web service endpoint. When you have successfully created your Microsoft Azure App Service to host the Henry's Kitchen endpoint, you should have a web service address similar to https://myhenrytestapp.azurewebsites.net
.
Configuring and testing the endpoint in the Alexa console
Once you are done deploying the endpoint Node.js service to the Microsoft Azure App Service, you will need to set it up in the Alexa Cooking
skill:
- Using your Chrome browser, log in to the Alexa console.
- Go to the
Cooking
skill. - Go to the
Endpoint
screen by clicking on the menu on the left. - Choose
HTTPS
. Then, enterhttps://myhenrytestapp.azurewebsites.net/alexa/cookingApi
in theDefault Region
textbox and...