Introducing G2.ai, the future of software buying.Try now

Is it possible to allow Postman to get some values from your terminal?

Everyone in our team has a command line set of tools to generate the tokens, or have some kind of environment variables which are very much used while making API requests using Postman. Since it becomes a lot of manual work updating these values overtime (especially token). How do you guys manage this?
1 comment
Looks like you’re not logged in.
Users need to be logged in to answer questions
Log In
Julian L.
JL
Ingeniero de Software Senior y Líder Técnico
0
Unfortunately, Postman can't access to your local files and results on your local terminal. On my end, we have created some private endpoints that we call at the beginning of the day, we get the tokens and store them in env vars into postman. Our other endpoints work with the new tokens based on the env vars.
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply