{"action":"created","issue":{"url":"https://api.github.com/repos/DEIT2014/assignment/issues/23","repository_url":"https://api.github.com/repos/DEIT2014/assignment","labels_url":"https://api.github.com/repos/DEIT2014/assignment/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/DEIT2014/assignment/issues/23/comments","events_url":"https://api.github.com/repos/DEIT2014/assignment/issues/23/events","html_url":"https://github.com/DEIT2014/assignment/issues/23","id":183958508,"number":23,"title":"关于通过URL访问JSON数据","user":{"login":"DaBingXiaoQian","id":22018510,"avatar_url":"https://avatars.githubusercontent.com/u/22018510?v=3","gravatar_id":"","url":"https://api.github.com/users/DaBingXiaoQian","html_url":"https://github.com/DaBingXiaoQian","followers_url":"https://api.github.com/users/DaBingXiaoQian/followers","following_url":"https://api.github.com/users/DaBingXiaoQian/following{/other_user}","gists_url":"https://api.github.com/users/DaBingXiaoQian/gists{/gist_id}","starred_url":"https://api.github.com/users/DaBingXiaoQian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaBingXiaoQian/subscriptions","organizations_url":"https://api.github.com/users/DaBingXiaoQian/orgs","repos_url":"https://api.github.com/users/DaBingXiaoQian/repos","events_url":"https://api.github.com/users/DaBingXiaoQian/events{/privacy}","received_events_url":"https://api.github.com/users/DaBingXiaoQian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-19T13:15:56Z","updated_at":"2016-10-27T01:18:42Z","closed_at":null,"body":"怎么样才能够通过一个URL访问JSON数据呢？\r\n给的例子里面的JSON数据可以通过“http://127.0.0.1:8080/programming-languages”访问，但是自己写的时候要怎么才能够通过URL访问数据呢？\r\n\r\n     void loadData(_) {\r\n      var url = \"http://$host/students_data\"; \r\n      var request = HttpRequest.getString(url).then(onDataLoaded);\r\n    }\r\n   我写的代码是这样，运行的时候说找不到JSON文件\r\n   \r\n![default](https://cloud.githubusercontent.com/assets/22018510/19520036/29942cb0-9641-11e6-8430-29b79197aa53.png)\r\n"},"comment":{"url":"https://api.github.com/repos/DEIT2014/assignment/issues/comments/256521467","html_url":"https://github.com/DEIT2014/assignment/issues/23#issuecomment-256521467","issue_url":"https://api.github.com/repos/DEIT2014/assignment/issues/23","id":256521467,"user":{"login":"DaBingXiaoQian","id":22018510,"avatar_url":"https://avatars.githubusercontent.com/u/22018510?v=3","gravatar_id":"","url":"https://api.github.com/users/DaBingXiaoQian","html_url":"https://github.com/DaBingXiaoQian","followers_url":"https://api.github.com/users/DaBingXiaoQian/followers","following_url":"https://api.github.com/users/DaBingXiaoQian/following{/other_user}","gists_url":"https://api.github.com/users/DaBingXiaoQian/gists{/gist_id}","starred_url":"https://api.github.com/users/DaBingXiaoQian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaBingXiaoQian/subscriptions","organizations_url":"https://api.github.com/users/DaBingXiaoQian/orgs","repos_url":"https://api.github.com/users/DaBingXiaoQian/repos","events_url":"https://api.github.com/users/DaBingXiaoQian/events{/privacy}","received_events_url":"https://api.github.com/users/DaBingXiaoQian/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T01:18:42Z","updated_at":"2016-10-27T01:18:42Z","body":"是我，我找到了文档，不过没有完全看懂用法"}}
{"actor":{"display_login":"DaBingXiaoQian"}}