Bug report, Exercise 15


#1

From How to use APIs with JavaScript

// Add your code below this line!
var xhr = new XMLHttpRequest();
xhr.open("GET", "http://www.codecademy.com/", false);
xhr.send();

// Add your code above this line!

console.log(xhr.status);
console.log(xhr.statusText);

doesn't work. Only the HTTPS form of the URL works, even though it says HTTP in the instructions.