Rewrite Request Body

jefftuckerbofajefftuckerbofa Posts: 61

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

  • jefftuckerbofajefftuckerbofa Posts: 61

    Figured it out! I added Output to the Incoming Request using a Messaging Client. Altered the request body and forwarded the request.

  • jefftuckerbofajefftuckerbofa Posts: 61
    edited July 5

    Virtualize is great!

  • williammccuskerwilliammccusker Posts: 408 ✭✭

    Glad to hear you think it is great! :smile:

Sign In or Register to comment.