Modify request body with middleware in .NET Core Web API
In this post, I’m going to modify the request body by adding an additional field to the request body using middleware. The middleware will try to read the current request body, add the additional field and then replace body with the new content. Then we need to register this middleware in the startup class. That’s … [Read more…]