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?

That’s not an endpoint that’s currently available over the API.

Hi~ @dannydainton.
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