We will create an HTTP request API which gives a weather report in JSON format in response. In this example, we will use Google Weather API, which is open source:
- Log into the Azure Portal and create Azure App. We have created Azure App in the previous chapter. Now we will create the function. Click on the + sign and select the language, as shown in the following screenshot:
- There are only two options available for us, that is HttpTrigger - Python and QueueTrigger - Python:
- HttpTrigger - Python: This trigger gets fired whenever it receives an Http request
- QueueTrigger - Python: This trigger gets fired when a message is added to ...