{"action":"created","issue":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/183","labels_url":"https://api.github.com/repos/jayway/rest-assured/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/jayway/rest-assured/issues/183/comments","events_url":"https://api.github.com/repos/jayway/rest-assured/issues/183/events","html_url":"https://github.com/jayway/rest-assured/issues/183","id":96121109,"number":183,"title":"Add support for sessions","user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jayway/rest-assured/labels/enhancement","name":"enhancement","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/rest-assured/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-20T17:56:53Z","updated_at":"2015-07-20T17:57:29Z","closed_at":null,"body":"_From [johan.ha...@gmail.com](https://code.google.com/u/105676376875942041029/) on February 13, 2011 11:17:53_\n\nE.g. \r\n\r\nSession session = createSession();\r\nsession.expect().body(\"x.y.z\", equalTo(\"xyz\")).when().get(\"/xyz\");\r\nsession.expect().body(\"z.y.x\", equalTo(\"zyx\")).when().get(\"/zyx\");\r\nsession.close();\r\n\r\nRA should automatically extract the session id from the header and pass it along to the next request.\n\n_Original issue: http://code.google.com/p/rest-assured/issues/detail?id=28_"},"comment":{"url":"https://api.github.com/repos/jayway/rest-assured/issues/comments/122968034","html_url":"https://github.com/jayway/rest-assured/issues/183#issuecomment-122968034","issue_url":"https://api.github.com/repos/jayway/rest-assured/issues/183","id":122968034,"user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T17:57:29Z","updated_at":"2015-07-20T17:57:29Z","body":"_From [johan.ha...@gmail.com](https://code.google.com/u/105676376875942041029/) on March 18, 2012 10:53:28_\n\n**Status:** Fixed  \n"}}