{"action":"opened","issue":{"url":"https://api.github.com/repos/nuxt-community/axios-module/issues/127","repository_url":"https://api.github.com/repos/nuxt-community/axios-module","labels_url":"https://api.github.com/repos/nuxt-community/axios-module/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/nuxt-community/axios-module/issues/127/comments","events_url":"https://api.github.com/repos/nuxt-community/axios-module/issues/127/events","html_url":"https://github.com/nuxt-community/axios-module/issues/127","id":306030806,"number":127,"title":"set headers is not working","user":{"login":"krittanon-w","id":18285224,"avatar_url":"https://avatars1.githubusercontent.com/u/18285224?v=4","gravatar_id":"","url":"https://api.github.com/users/krittanon-w","html_url":"https://github.com/krittanon-w","followers_url":"https://api.github.com/users/krittanon-w/followers","following_url":"https://api.github.com/users/krittanon-w/following{/other_user}","gists_url":"https://api.github.com/users/krittanon-w/gists{/gist_id}","starred_url":"https://api.github.com/users/krittanon-w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krittanon-w/subscriptions","organizations_url":"https://api.github.com/users/krittanon-w/orgs","repos_url":"https://api.github.com/users/krittanon-w/repos","events_url":"https://api.github.com/users/krittanon-w/events{/privacy}","received_events_url":"https://api.github.com/users/krittanon-w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-16T18:20:45Z","updated_at":"2018-03-16T18:20:45Z","closed_at":null,"author_association":"NONE","body":"I'm trying to set header by using your init document and this code\r\n```js\r\n this.$axios.setHeader('token', '123')\r\n this.$axios.get('/api/users/all').then((res) => {\r\n    console.log('usersRes', res)\r\n})\r\n```\r\nand\r\n\r\n```js\r\nheaders = { token: '123'}\r\n this.$axios.get('/api/users/all',{headers}).then((res) => {\r\n    console.log('usersRes', res)\r\n})\r\n```\r\nbut it not work. then I have inspected in chrome. this is result\r\n<img width=\"445\" alt=\"screen shot 2018-03-17 at 1 09 21 am\" src=\"https://user-images.githubusercontent.com/18285224/37537654-d6413df8-2980-11e8-96df-83023892250e.png\">\r\nboth of code is same result, token variable in header not set"}}
{"actor":{"display_login":"krittanon-w"}}