Creating a JavaScript function triggered by a Webhook

Let's create a JavaScript function in Microsoft Azure using Azure Portal:

  1. Log in to the Azure portal and navigate to the function app, which we created in the previous chapter.
  2. Click on the + sign to add a new Azure Function. Set the language as Javascript and the template as Generic Webhook, as shown in the following screenshot:
  1. Now provide a name for the function and click on Create:
  1. A default template will be created, as shown in the following screenshot:
  1. Get the function URL ...

Get Learning Azure Functions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.