I sometimes need to dump requests. I used to have a python app, but wanted something simpler, so here's a simple single-file go app that listens on 7780 and shoves each request in a timestamp names temp-file.
It has a dockerfile too. Use it for whatever.
Apache 2.0 Licensed