{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webappsec/issues/241","labels_url":"https://api.github.com/repos/w3c/webappsec/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webappsec/issues/241/comments","events_url":"https://api.github.com/repos/w3c/webappsec/issues/241/events","html_url":"https://github.com/w3c/webappsec/issues/241","id":68016357,"number":241,"title":"CREDENTIAL: use fetch()","user":{"login":"annevk","id":1544111,"avatar_url":"https://avatars.githubusercontent.com/u/1544111?v=3","gravatar_id":"","url":"https://api.github.com/users/annevk","html_url":"https://github.com/annevk","followers_url":"https://api.github.com/users/annevk/followers","following_url":"https://api.github.com/users/annevk/following{/other_user}","gists_url":"https://api.github.com/users/annevk/gists{/gist_id}","starred_url":"https://api.github.com/users/annevk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annevk/subscriptions","organizations_url":"https://api.github.com/users/annevk/orgs","repos_url":"https://api.github.com/users/annevk/repos","events_url":"https://api.github.com/users/annevk/events{/privacy}","received_events_url":"https://api.github.com/users/annevk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/webappsec/labels/CREDENTIAL","name":"CREDENTIAL","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-13T06:03:53Z","updated_at":"2015-04-13T14:52:40Z","closed_at":null,"body":"Instead of\r\n\r\n    credential.send(url)\r\n\r\nwhy not just\r\n\r\n    fetch(url, {body:credential})\r\n\r\n? Seems better than introducing yet another networking API. And perhaps allow it to be appended to `FormData` so you can add extra data too?"},"comment":{"url":"https://api.github.com/repos/w3c/webappsec/issues/comments/92388001","html_url":"https://github.com/w3c/webappsec/issues/241#issuecomment-92388001","issue_url":"https://api.github.com/repos/w3c/webappsec/issues/241","id":92388001,"user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T14:52:40Z","updated_at":"2015-04-13T14:52:40Z","body":"OpaqueReadableStream should be pretty easy to specify too as most of its spec consists of \"magic happens here.\""}}