Very VERY new to this.
I have setup four methods in a Postman collection. The first POST gets a Token (the other three use the Token), the second POST uploads a file somewhere, a GET determines if the file is already there and if so, returns a physicalFileName, a DELETE gets passed the physicalFileName and that file is then deleted.
They all work great … however:
I have to copy/paste the token gotten by the first POST into the Authentication for the 2nd POST, the GET, and the DELETE. I need to pass it from one to the other.
I have to copy/paste the physicalFileAddress returned in the GET into the DELETE.
I need to get this all working in a single script that is external to Postman and can be executed from the file system.
#3 is the biggest concern. If I cannot export my Postman methods to an external script for execution independently from Postman, this is all for nothing.
Thanks in advance for any insight.