Sooner or later you will want to do read or write files when using Postman. Due to security concerns, this is not possible directly from Postman. But you can use Node.js and Newman as a library to write a script that can help you read and write files.

In this tutorial, I am demonstrating how to write the request and response body to a file.

The code used in this tutorial can be found here:

https://github.com/vdespa/write-write-response

#programming #postman

How to Programmatically Save The Response To File in Postman
24.70 GEEK