On September 14th, 2017, we published revised versions of our Privacy Policy, Terms of Service and Website Use Policy and published a Cookie Policy. Your continued use of Lynda.com means you agree to these revised documents, so please take a few minutes to read and understand them.

Testing webhook Azure Functions

Keyboard Shortcuts

Using the Azure portal, we create an Azure Function triggered by an HTTP request (webhook) and test it using a third-party tool, PostMan, by submitting an HTTP POST with the required query string parameters and JSON request body from outside of Azure.

- [Instructor] Now we will create an Azure Function…triggered by a webhook, and we will test it…from outside of Azure itself.…So, let's start in our Functions app.…We'll click on the plus to add a function.…Notice I am in the…antonlearningazurefunctions Function application.…When I click on Functions,…there are none there at the moment.…You might have some from your earlier testing.…Click on the plus to add a new function.…And now we'll create a function…based on the Custom function link at the bottom of the page.…

We will create a webhook-based function in C#.…By applying the filters, I have my three options,…and we will pick a GenericWebHook-CSharp function.…Name your function and click Create.…Notice on the right we have the Test environment,…and I will use that to invoke my function.…Scroll further down, find the Run button, and click Run.…

Watch the Logs stream.…It should show us that our function was started.…The log.Info on line 9 caused text to be written to the log.…It says Webhook was triggered and the Function completed.…

Resume Transcript Auto-Scroll

Author

Released

7/10/2017

Azure Functions—a serverless computer service from Microsoft—can help you enhance your development workflow by allowing you to run code without needing to provision or manage infrastructure. In this course, learn how to create and use Azure Functions. Anton Delsink explains how to use Azure Functions with webhooks, and how to create Azure Functions with various languages, including C#. When you wrap up this course, you'll have the knowledge you need to create an Azure Function, configure services to interact with Azure Functions, and create Azure Functions that interact with various cloud services.