{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/4006","repository_url":"https://api.github.com/repos/vuejs/vue","labels_url":"https://api.github.com/repos/vuejs/vue/issues/4006/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/4006/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/4006/events","html_url":"https://github.com/vuejs/vue/issues/4006","id":184469226,"number":4006,"title":"Official ducumented support for ajax/XHR/fetch requests","user":{"login":"fractalf","id":5707457,"avatar_url":"https://avatars.githubusercontent.com/u/5707457?v=3","gravatar_id":"","url":"https://api.github.com/users/fractalf","html_url":"https://github.com/fractalf","followers_url":"https://api.github.com/users/fractalf/followers","following_url":"https://api.github.com/users/fractalf/following{/other_user}","gists_url":"https://api.github.com/users/fractalf/gists{/gist_id}","starred_url":"https://api.github.com/users/fractalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fractalf/subscriptions","organizations_url":"https://api.github.com/users/fractalf/orgs","repos_url":"https://api.github.com/users/fractalf/repos","events_url":"https://api.github.com/users/fractalf/events{/privacy}","received_events_url":"https://api.github.com/users/fractalf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-21T12:02:33Z","updated_at":"2016-10-21T19:37:24Z","closed_at":"2016-10-21T12:13:15Z","body":"I just got into vue 2.0 and loving it!\r\n\r\nHowever, when I wanted to do a simple ajax request things kind of stopped...\r\n\r\nI *ducked* \"vue 2.0 ajax request\" and got a lot of different results, non which were *official*.\r\nThe most used lib and obvious choise seems to be [vue-resource](https://github.com/vuejs/vue-resource), but there were reports about people not getting in to work etc..\r\n\r\nAnother \"issue\" with vue-resource is the \"non ES6\" promise API, no .catch!\r\nAlso it doesn't seem to support the new fetch API.\r\n..I guess these are issues for vue-resource, but I mention them here because that project looks official.\r\n\r\nSo, my request would be that the official vue 2.0 docs include an example of how to best do an ajax call, so newcomers don't have to spend an hour searching for the best practice on how to do this. I would recon most apps out there use ajax-request, so I think this should be in the docs.\r\n\r\nThanks for a great alternative to react!"},"comment":{"url":"https://api.github.com/repos/vuejs/vue/issues/comments/255448079","html_url":"https://github.com/vuejs/vue/issues/4006#issuecomment-255448079","issue_url":"https://api.github.com/repos/vuejs/vue/issues/4006","id":255448079,"user":{"login":"LinusBorg","id":1444526,"avatar_url":"https://avatars.githubusercontent.com/u/1444526?v=3","gravatar_id":"","url":"https://api.github.com/users/LinusBorg","html_url":"https://github.com/LinusBorg","followers_url":"https://api.github.com/users/LinusBorg/followers","following_url":"https://api.github.com/users/LinusBorg/following{/other_user}","gists_url":"https://api.github.com/users/LinusBorg/gists{/gist_id}","starred_url":"https://api.github.com/users/LinusBorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinusBorg/subscriptions","organizations_url":"https://api.github.com/users/LinusBorg/orgs","repos_url":"https://api.github.com/users/LinusBorg/repos","events_url":"https://api.github.com/users/LinusBorg/events{/privacy}","received_events_url":"https://api.github.com/users/LinusBorg/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T19:37:24Z","updated_at":"2016-10-21T19:37:24Z","body":"And if you aske 3 of our team members which they prefer, you would get three different replies minimum :D"}}
{"actor":{"display_login":"LinusBorg"}}