My question:
I’m currently setting up a test server that runs a collection of tests for our API using Newman. I have a globals JSON file that I exported from the Postman website using the Export button and that works like a charm.
However, if we make any changes on a global variable on the website, the test server will have outdated information and we’ll have to manually export and replace.
That is currently not a problem for our environment variables, since I’m able to fetch them by sending a GET request at the following URL: https://api.getpostman.com/environments/{{environment_UID}} and putting the API-key that I generated in the header.
My question is, is it possible to do the same thing for the workspace’s global variables?