Closed BroMarduk closed 3 years ago
Hi @BroMarduk please check this one The HttpRequestData was changed in the latest preview4 version. So probably this issue is no longer exists. Please check the Function5 example to see how to work with HttpRequestData
Yes, this works as expected now with preview 4
string body = req.Body.HasValue ? Encoding.UTF8.GetString(req.Body.Value.Span) : string.Empty;
Seems like it would be better if HttpRequestData.Body was set to Null instead of throwing NullReferenceException when it's not in a request...
Example: