I can't find documentation on this anywhere since IE8 is so old. I'm simply trying to use JavaScript to make a Google API call. Something in python would look like this:
page= urlopen("http://example.com")
response = page.read()
I found some documentation that said to use XMLHttpRequest. I'm not so sure about the syntax but it would look something like the following:
var req = new XMLHttpRequest();
//req.responseType = 'JSON'; to get JSON?
req.open("GET", url, false);
req.send();
What would the JS code for an API call look like for something that works in IE8?