I’m looking to automate a file download. In my case, I have a collection that is made of 4 calls (get auth token, search for document, get document url, view document). When running the collection in Postman, everything works correctly and I am able to view the document. I am also able to download the document using the Send and Download option or the Save Response to File option. However, I am interested in having the document automatically download to my local file store. Is this possible either directly in Postman or using Newman?
As @michaelderekjones mentioned there are already a few solutions mentioned in the forum, the best way is probably to fork and follow the instructions in this collection: Postman