How to define an HTTP output binding in Azure Function?
There is only HTTP input binding, output binding does not exist
Using [Http(AuthorizationLevel.Function, "post", Route = null)] parameter
[Http(AuthorizationLevel.Function, "post", Route = null)]
Returning Task<IActionResult> result from the function
Task<IActionResult>
This binding requires an HTTP trigger and allows you to customize the response associated with the trigger's request.