Azure-Samples/functions-custom-handlers

supported keys for response payload.

He11oW-10 opened this issue · 1 comments

Hi,
Is there any detailed instruction about supported keys in Outsputs and ReturnValue of response payload?
Thanks.

Outputs

The first level key under Outputs is the name assigned in the function.json file (ex: res) and the subkeys are dependent on the binding type

ReturnValue

The ReturnValue is sent directly to the the Output with the name $return and follows the type of the binding

Binding Documentation

Binding formats documented by type under Reference / Triggers and bindings / %TYPE% in the Azure Function Docs. I recommend using JavaScript examples as the response looks similar to the json used by custom handlers

Additional Documentation