LennSar
3 years agoContributor
Write Rest request content to file
Hi there,
I'm randomly generating the content of a rest put request which I execute several times after another (everytime with new content). Afterwards I'd like to check whether the content was written as expected but since I can't access the put request as a reference anymore I thought about writing the content to file every time and than use that file as a reference for the later check.
Here's an example of how the request looks like in ReadyApi
Problem now is: I don't know how I could write this into a file. Any suggestions?
Thanks!
Lennart