{"action":"created","issue":{"url":"https://api.github.com/repos/mzabriskie/axios/issues/92","labels_url":"https://api.github.com/repos/mzabriskie/axios/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/mzabriskie/axios/issues/92/comments","events_url":"https://api.github.com/repos/mzabriskie/axios/issues/92/events","html_url":"https://github.com/mzabriskie/axios/issues/92","id":96962695,"number":92,"title":"Does axios allow me to get cookies from REST API responses?","user":{"login":"dukedougal","id":691840,"avatar_url":"https://avatars.githubusercontent.com/u/691840?v=3","gravatar_id":"","url":"https://api.github.com/users/dukedougal","html_url":"https://github.com/dukedougal","followers_url":"https://api.github.com/users/dukedougal/followers","following_url":"https://api.github.com/users/dukedougal/following{/other_user}","gists_url":"https://api.github.com/users/dukedougal/gists{/gist_id}","starred_url":"https://api.github.com/users/dukedougal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dukedougal/subscriptions","organizations_url":"https://api.github.com/users/dukedougal/orgs","repos_url":"https://api.github.com/users/dukedougal/repos","events_url":"https://api.github.com/users/dukedougal/events{/privacy}","received_events_url":"https://api.github.com/users/dukedougal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-24T04:25:35Z","updated_at":"2015-12-14T20:05:50Z","closed_at":"2015-12-14T20:05:50Z","body":"I have a REST API which my browser client talks to.\r\n\r\nI want to be able to pick up the values from cookies returned from the REST API.\r\n\r\nDoes axios permit this?  Any examples anywhere of how to do so?\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/mzabriskie/axios/issues/comments/164544291","html_url":"https://github.com/mzabriskie/axios/issues/92#issuecomment-164544291","issue_url":"https://api.github.com/repos/mzabriskie/axios/issues/92","id":164544291,"user":{"login":"mzabriskie","id":199035,"avatar_url":"https://avatars.githubusercontent.com/u/199035?v=3","gravatar_id":"","url":"https://api.github.com/users/mzabriskie","html_url":"https://github.com/mzabriskie","followers_url":"https://api.github.com/users/mzabriskie/followers","following_url":"https://api.github.com/users/mzabriskie/following{/other_user}","gists_url":"https://api.github.com/users/mzabriskie/gists{/gist_id}","starred_url":"https://api.github.com/users/mzabriskie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzabriskie/subscriptions","organizations_url":"https://api.github.com/users/mzabriskie/orgs","repos_url":"https://api.github.com/users/mzabriskie/repos","events_url":"https://api.github.com/users/mzabriskie/events{/privacy}","received_events_url":"https://api.github.com/users/mzabriskie/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T20:05:50Z","updated_at":"2015-12-14T20:05:50Z","body":"@dukedougal as @dralletje said, browser doesn't support reading cookies from XHR. You could write a script yourself to find newly set cookies."}}