{"action":"opened","issue":{"url":"https://api.github.com/repos/vlucas/frisby/issues/293","labels_url":"https://api.github.com/repos/vlucas/frisby/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/vlucas/frisby/issues/293/comments","events_url":"https://api.github.com/repos/vlucas/frisby/issues/293/events","html_url":"https://github.com/vlucas/frisby/issues/293","id":124934976,"number":293,"title":"cannot add header from afterJSON with globalSetup","user":{"login":"tique","id":3601361,"avatar_url":"https://avatars.githubusercontent.com/u/3601361?v=3","gravatar_id":"","url":"https://api.github.com/users/tique","html_url":"https://github.com/tique","followers_url":"https://api.github.com/users/tique/followers","following_url":"https://api.github.com/users/tique/following{/other_user}","gists_url":"https://api.github.com/users/tique/gists{/gist_id}","starred_url":"https://api.github.com/users/tique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tique/subscriptions","organizations_url":"https://api.github.com/users/tique/orgs","repos_url":"https://api.github.com/users/tique/repos","events_url":"https://api.github.com/users/tique/events{/privacy}","received_events_url":"https://api.github.com/users/tique/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-05T10:08:42Z","updated_at":"2016-01-05T10:08:42Z","closed_at":null,"body":"Hi, \r\nIm new to frisby so maybe im missing something.\r\ni am trying to add a header to a request with the response from a previous request. \r\n\r\ni have tried: \r\n\r\n.afterJSON(function (res) {frisby.globalSetup({ request: { headers: { 'X-Client-Id': res.id } } })})\r\n\r\nbut X-Client-Id is not added as a header. \r\n\r\ncan i have res.id available to other requests?\r\n\r\nthanks"}}