XMLHttpRequest Example
//how to make a sync http request in the console
> var request = new XMLHttpRequest()
> request.open("GET", "https://api.github.com/users/ds604/repos", false)
> request.send(null)
> request.responseText
> eval(res)[0]
Object {id: 15670739, name: "axongame", full_name: "ds604/axongame", owner: Object, private: false…}
> JSON.parse(res)[0]
Object {id: 15670739, name: "axongame", full_name: "ds604/axongame", owner: Object, private: false…}
> JSON.parse(res)[0].name
"axongame"