{"action":"created","issue":{"url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/917","labels_url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/917/labels{/name}","comments_url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/917/comments","events_url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/917/events","html_url":"https://github.com/a85/POSTMan-Chrome-Extension/issues/917","id":57466804,"number":917,"title":"URL Parameter substitute doesn't work when URL is taken from an environment variable","user":{"login":"Amwam","id":879073,"avatar_url":"https://avatars.githubusercontent.com/u/879073?v=3","gravatar_id":"","url":"https://api.github.com/users/Amwam","html_url":"https://github.com/Amwam","followers_url":"https://api.github.com/users/Amwam/followers","following_url":"https://api.github.com/users/Amwam/following{/other_user}","gists_url":"https://api.github.com/users/Amwam/gists{/gist_id}","starred_url":"https://api.github.com/users/Amwam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amwam/subscriptions","organizations_url":"https://api.github.com/users/Amwam/orgs","repos_url":"https://api.github.com/users/Amwam/repos","events_url":"https://api.github.com/users/Amwam/events{/privacy}","received_events_url":"https://api.github.com/users/Amwam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T14:30:07Z","updated_at":"2015-02-12T18:01:40Z","closed_at":null,"body":"Hello\r\nI'm using an API, in which following a root link, provides a set of links which can further be followed. This dynamic nature results in not being able to 'hard' code the links before hand, as they can change at any point. \r\nThis means for my collection runner I have to add the links as an environment variable, to be used in the next request. \r\n\r\nI fill our the URL as {{my_env_variable).\r\nSome of these urls have path/query parameters that need to be supplied an run time. If I use a environment variable as my URL, pre-filling out the URL Params results in a URL that looks something like :\r\n\r\nhttp://myURL/path/to/resource/{value}?value=my_value\r\n\r\nAs the pre-request script editor does not allow me to edit the URL before running. Unless there is functionality I am unaware of.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/comments/74119617","html_url":"https://github.com/a85/POSTMan-Chrome-Extension/issues/917#issuecomment-74119617","issue_url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/917","id":74119617,"user":{"login":"abhijitkane","id":681190,"avatar_url":"https://avatars.githubusercontent.com/u/681190?v=3","gravatar_id":"","url":"https://api.github.com/users/abhijitkane","html_url":"https://github.com/abhijitkane","followers_url":"https://api.github.com/users/abhijitkane/followers","following_url":"https://api.github.com/users/abhijitkane/following{/other_user}","gists_url":"https://api.github.com/users/abhijitkane/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijitkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijitkane/subscriptions","organizations_url":"https://api.github.com/users/abhijitkane/orgs","repos_url":"https://api.github.com/users/abhijitkane/repos","events_url":"https://api.github.com/users/abhijitkane/events{/privacy}","received_events_url":"https://api.github.com/users/abhijitkane/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T18:01:40Z","updated_at":"2015-02-12T18:01:40Z","body":"Can you try importing this collection and running it in the collection runner - https://www.getpostman.com/collections/b4bf11451aec26366109\r\n\r\nYou'll have to select a blank environment in the collection runner before you run it.\r\n\r\nThere's a single request, which creates two environment variables in its pre-request script - \r\n1. urlToUse = http://dump.getpostman.com/get?email={{nextVariable}}\r\n2. nextVariable = TESTEMAIL\r\n\r\nThe test checks whether TESTEMAIL was sent as the parameter.\r\n\r\nIn your scenario, you can set an environment variable \"urlToUse\" in request 1. This variable (urlToUse) can refer to other variables (nextVariable). The nextVariable can be set in the pre-request script of request 2."}}