ASP.NET Blog | Re-reading ASP.Net Core request bodies with EnableBuffering()
In some scenarios there’s a need to read the request body multiple times. Some examples include
Logging the raw requests to replay in load test environment
Middleware that read the request body multiple times to process it
Usually Request.Body does not support rewinding,