https://ixnfo.com/kak-sohranit-post-zapros-v-fayl.html
Как сохранить POST запрос в файл