Forum Discussion
nmrao
Champion Level 3
Then it should be able to set the request using:
context.requestContent = reqContent
You need to check the raw request, not in the request editor if the change has happened or not, just in case it was not check in this way earlier.
context.requestContent = reqContent
You need to check the raw request, not in the request editor if the change has happened or not, just in case it was not check in this way earlier.
RiteshY
9 years agoOccasional Contributor
I am checking RAW request not the request section. Please see following screencast
- nmrao9 years agoChampion Level 3could not see raw request from the attachment.
I could not see the suggested statement in the script.- RiteshY9 years agoOccasional Contributor
It's a GIF file. You should be able to see raw request in the animation. (May be download the file and see it. Somehow, It's super slow in forum window)
Also, I am using following line to set the content which is not very different that you are suggesting.context.requestContent = "=$reqContent".toString()
I tried with what you are suggesting and result is same.
-Ritesh
- jahmai6 years agoOccasional Visitor
Hi Ritesh,
Did you ever resolve this? No matter what I set context.requestContent to inside the RequestFilter.filterRequest event, it always sends the original value.
Jahmai