Azure Functions HTTP triggers and bindings overview
Azure Functions may be invoked via HTTP requests to build serverless APIs and respond to webhooks.
|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.
|C#||Installing the NuGet package, version 3.x|
|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 apps automatically have a reference the Microsoft.Azure.WebJobs NuGet package, version 2.x.