Rewrite Request Body

What's the best way to intercept a request and change a value in the body ? For example, the JSON payload of my request is

{
"id": "abc"
}

and I want to modify it as such:

{
"id": "xyz"
}

and then continue processing the request.

Comments

Sign In or Register to comment.