{"action":"created","issue":{"url":"https://api.github.com/repos/visionmedia/superagent/issues/731","labels_url":"https://api.github.com/repos/visionmedia/superagent/issues/731/labels{/name}","comments_url":"https://api.github.com/repos/visionmedia/superagent/issues/731/comments","events_url":"https://api.github.com/repos/visionmedia/superagent/issues/731/events","html_url":"https://github.com/visionmedia/superagent/pull/731","id":102800361,"number":731,"title":"Add support for ES6 promise with fallback on es6-promise","user":{"login":"bnadim","id":1506149,"avatar_url":"https://avatars.githubusercontent.com/u/1506149?v=3","gravatar_id":"","url":"https://api.github.com/users/bnadim","html_url":"https://github.com/bnadim","followers_url":"https://api.github.com/users/bnadim/followers","following_url":"https://api.github.com/users/bnadim/following{/other_user}","gists_url":"https://api.github.com/users/bnadim/gists{/gist_id}","starred_url":"https://api.github.com/users/bnadim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnadim/subscriptions","organizations_url":"https://api.github.com/users/bnadim/orgs","repos_url":"https://api.github.com/users/bnadim/repos","events_url":"https://api.github.com/users/bnadim/events{/privacy}","received_events_url":"https://api.github.com/users/bnadim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-24T13:59:43Z","updated_at":"2015-08-24T16:51:18Z","closed_at":"2015-08-24T16:51:08Z","pull_request":{"url":"https://api.github.com/repos/visionmedia/superagent/pulls/731","html_url":"https://github.com/visionmedia/superagent/pull/731","diff_url":"https://github.com/visionmedia/superagent/pull/731.diff","patch_url":"https://github.com/visionmedia/superagent/pull/731.patch"},"body":"End doesn't return anymore the request instance but a promise.\r\nEnd still support callbacks.\r\nEnd is usually the end of a call chain so i believe make it return a promise makes sense\r\nEx : \r\n```js\r\nrequest.post('api/pet')\r\n.end()\r\n.then(function (res) { console.log(res) })\r\n.catch(function (err) { console.log(err) })\r\n```"},"comment":{"url":"https://api.github.com/repos/visionmedia/superagent/issues/comments/134297486","html_url":"https://github.com/visionmedia/superagent/pull/731#issuecomment-134297486","issue_url":"https://api.github.com/repos/visionmedia/superagent/issues/731","id":134297486,"user":{"login":"defunctzombie","id":84792,"avatar_url":"https://avatars.githubusercontent.com/u/84792?v=3","gravatar_id":"","url":"https://api.github.com/users/defunctzombie","html_url":"https://github.com/defunctzombie","followers_url":"https://api.github.com/users/defunctzombie/followers","following_url":"https://api.github.com/users/defunctzombie/following{/other_user}","gists_url":"https://api.github.com/users/defunctzombie/gists{/gist_id}","starred_url":"https://api.github.com/users/defunctzombie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defunctzombie/subscriptions","organizations_url":"https://api.github.com/users/defunctzombie/orgs","repos_url":"https://api.github.com/users/defunctzombie/repos","events_url":"https://api.github.com/users/defunctzombie/events{/privacy}","received_events_url":"https://api.github.com/users/defunctzombie/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T16:51:18Z","updated_at":"2015-08-24T16:51:18Z","body":"Please search for other issues around this topic"}}