{"action":"created","issue":{"url":"https://api.github.com/repos/Huachao/vscode-restclient/issues/22","repository_url":"https://api.github.com/repos/Huachao/vscode-restclient","labels_url":"https://api.github.com/repos/Huachao/vscode-restclient/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Huachao/vscode-restclient/issues/22/comments","events_url":"https://api.github.com/repos/Huachao/vscode-restclient/issues/22/events","html_url":"https://github.com/Huachao/vscode-restclient/issues/22","id":167718861,"number":22,"title":"Use variables inside http/rest files","user":{"login":"Odonno","id":6053067,"avatar_url":"https://avatars.githubusercontent.com/u/6053067?v=3","gravatar_id":"","url":"https://api.github.com/users/Odonno","html_url":"https://github.com/Odonno","followers_url":"https://api.github.com/users/Odonno/followers","following_url":"https://api.github.com/users/Odonno/following{/other_user}","gists_url":"https://api.github.com/users/Odonno/gists{/gist_id}","starred_url":"https://api.github.com/users/Odonno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odonno/subscriptions","organizations_url":"https://api.github.com/users/Odonno/orgs","repos_url":"https://api.github.com/users/Odonno/repos","events_url":"https://api.github.com/users/Odonno/events{/privacy}","received_events_url":"https://api.github.com/users/Odonno/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Huachao/vscode-restclient/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-26T21:41:05Z","updated_at":"2016-10-11T12:17:06Z","closed_at":null,"body":"- VSCode Version: 1.3.1\r\n- OS Version: Windows 10.10586\r\n- REST Client Version: 0.6.1\r\n\r\nRequirements:\r\n\r\nThe goal is to be able to make flexible REST client file. Adding variables, it could be simple to do those sort of things : \r\n\r\n* Base url\r\n* Reuse previous response\r\n* Use token (https://github.com/Huachao/vscode-restclient/issues/22#issuecomment-235603249)\r\n\r\nTasks:\r\n\r\n* [ ] environment variable (you can define prod/sandbox/... variables)\r\n* [ ] global variables (cross environment)\r\n* [x] global dynamic variables (I will provide function like {{$guid}}, then you can use this in your request when you needs a new guid) support in the future.\r\n"},"comment":{"url":"https://api.github.com/repos/Huachao/vscode-restclient/issues/comments/252900770","html_url":"https://github.com/Huachao/vscode-restclient/issues/22#issuecomment-252900770","issue_url":"https://api.github.com/repos/Huachao/vscode-restclient/issues/22","id":252900770,"user":{"login":"dcbrwn","id":12214069,"avatar_url":"https://avatars.githubusercontent.com/u/12214069?v=3","gravatar_id":"","url":"https://api.github.com/users/dcbrwn","html_url":"https://github.com/dcbrwn","followers_url":"https://api.github.com/users/dcbrwn/followers","following_url":"https://api.github.com/users/dcbrwn/following{/other_user}","gists_url":"https://api.github.com/users/dcbrwn/gists{/gist_id}","starred_url":"https://api.github.com/users/dcbrwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcbrwn/subscriptions","organizations_url":"https://api.github.com/users/dcbrwn/orgs","repos_url":"https://api.github.com/users/dcbrwn/repos","events_url":"https://api.github.com/users/dcbrwn/events{/privacy}","received_events_url":"https://api.github.com/users/dcbrwn/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T12:17:06Z","updated_at":"2016-10-11T12:17:06Z","body":"Ability to set variable to result of HTTP request will be **very** helpful."}}
{"actor":{"display_login":"dcbrwn"}}