Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 2.66 KB

functions-bindings-http-webhook.md

File metadata and controls

47 lines (33 loc) · 2.66 KB
title description author ms.topic ms.date ms.author
Azure Functions HTTP triggers and bindings
Learn to use HTTP triggers and bindings in Azure Functions.
craigshoemaker
reference
02/14/2020
cshoe

Azure Functions HTTP triggers and bindings overview

Azure Functions may be invoked via HTTP requests to build serverless APIs and respond to webhooks.

Action Type
Run a function from an HTTP request Trigger
Return an HTTP response from a function Output binding

The code in this article defaults to .NET Core syntax, used in Functions version 2.x and higher. For information on the 1.x syntax, see the 1.x functions templates.

Add to your Functions app

Functions 2.x and higher

Working with the trigger and bindings requires that you reference the appropriate package. The NuGet package is used for .NET class libraries while the extension bundle is used for all other application types.

Language Add by... Remarks
C# Installing the NuGet package, version 3.x
C# Script, Java, JavaScript, Python, PowerShell Registering the extension bundle The Azure Tools extension is recommended to use with Visual Studio Code.
C# Script (online-only in Azure portal) Adding a binding To update existing binding extensions without having to republish your function app, see Update your extensions.

Functions 1.x

Functions 1.x apps automatically have a reference the Microsoft.Azure.WebJobs NuGet package, version 2.x.

Next steps