MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.24k stars 21.41k forks source link

No example for javascript #91793

Open baybal opened 2 years ago

baybal commented 2 years ago

There are no examples of output binding API for JS. Please do not link somewhere else for examples on a page where there should be examples.

The example in https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger#example doesn't show how to set headers, or much else about the API except for status, and body.

Usage
To send an HTTP response, use the language-standard response patterns.

For example responses, see the [trigger examples](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger#example).

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

MayankBargali-MSFT commented 2 years ago

@baybal Thank you for your feedback! We will review and update as appropriate.

MughundhanRaveendran-MSFT commented 2 years ago

reassign:ggailey777