Cannot complete an API Request


I do not understand why my code does not work.

// Add your code below this line!
var xhr = new XMLHttpRequest();"GET", "", false);

// Add your code above this line!



There is a bug in the main code

Change this:"GET", "", false);

change to this :"GET", "", false);

They forgot an 's' in https


Worked perfect.

Seriously, thank you


Thanks for posting this. Really helped a lot.


You're the real MVP. Thank you. I couldn't find where I went wrong.


4 months later, still not fixed. What's the issue codecademy??


They tell you to use HTTPS. Why does this need a fix?