I have an Azure function app with a common trigger signature like this
public static async Task<IActionResult> RunAsync(
[HttpTrigger(AuthorizationLevel.Function, "post", Route = null)] HttpRequest req,
ILogger log)
The request body “req.Body” doesn’t have utf-8 encoding. For this particular application I need this specific encoding. How do I achieve this, I am using the azure function isolated process. In regular asp.net app I believe there is a globalization setting for this, if am not mistaken is like this.
<system.web>
<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"/>
</system.web>
How do I achive the same thing for the function app.