Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created December 31, 2016 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/4ff9923d73864d65c341e76032b30733 to your computer and use it in GitHub Desktop.
Save justinyoo/4ff9923d73864d65c341e76032b30733 to your computer and use it in GitHub Desktop.
Is Azure Functions over Web API Beneficial?
// function.json
{
"disabled": false,
"bindings": [
{
"authLevel": "function",
"name": "req",
"type": "httpTrigger",
"direction": "in",
"route": "products/{productId}", // Route template
"methods": [ "get" ] // HTTP verbs
},
{
"name": "res",
"type": "http",
"direction": "out"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment