Rodrigo Rocha
Rodrigo Rocha

Reputation: 417

Is it possible to get OS env variables into postman?

Is it possible set some environment variable from the os inside postman?

I want to use some environment variables from my linux inside postman without duplicate it. Is it possible? Anyone can help me?

Upvotes: 5

Views: 2866

Answers (1)

Divyang Desai
Divyang Desai

Reputation: 7866

This is still an open feature request on Postman GitHub: Feature Request: read variables from OS environment.

The way around is to create a method that fetches required OS environment variables, call that method in the Pre-request script and store its value to the Postman environment variables whenever you need them.

Upvotes: 5

Related Questions