MicrosoftDocs / azure-docs

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

Missing information about access to request body #121381

Open FinnAr opened 6 months ago

FinnAr commented 6 months ago

In the section about HttpTrigger, I miss information about how to access the request body. Using [FromBody] is NOT an option for me, as this works ONLY when there is ALWAYS a body. But a body is found only when the request is "post".
Former methods using a streamreader only works in an async function, which is not possible with isolated worker threads.


Document Details

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

PesalaPavan commented 6 months ago

@FinnAr Thanks for your feedback! We will investigate and update as appropriate.