How to get the url of global variables with uid?

Hi,
Is there any way to get the url of global variables with uid?
I want to run it by newman with urls.

Please let me know the way.
Thanks.

Hey @hhh3h

Welcome to the community!! :trophy:

Do you mean a URL to access the global variables, from the Postman API?

https://docs.api.getpostman.com/?version=latest

Thatโ€™s not an endpoint thatโ€™s currently available over the API.

Hi~ @danny-dainton.
I canโ€™t find out the way how to get the URL to access the global variables from your post.
Please let me know it.

Thatโ€™s not an endpoint thatโ€™s currently available over the API.

You would either need to export the JSON file and reference that in the command or use this Newman CLI flag:

--global-var "<global-variable-name>=<global-variable-value>"

Okay, thanks for your reply. :grinning:

1 Like