How to use APIs with JavaScript - Apigee API - Bug in "16. Requests"


You should change the URL string, because you can only connect with HTTPS, not HTTP.


yes! thank you. I couldn't get passed it even though my code was correct. Should be

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

this 's' is missing on the http in the url - if not added, it will fail you.


Also had this issue, would be useful if it could be fixed!


Took me a good 5-10 minutes to figure out that bug.


Yeah wasted multiple minutes of my morning.. the annoying thing is we can't skip past even when we 'know' our code is correct.. there should be a 'skip and submit' option or something..


thanks for this buddy


I also had the same issue. Had to change to https before it would submit correctly :confused:


It'd be nice if Codecademy would fix this tiny bug in the instructions. Very frustrating, since there's pretty minimal error feedback in these lessons.


This issue still hasn't been fixed


Still not fixed, ran into this today


Even after changing the url to add the 's', it is still not letting me pass. What's happening here?
Code is correct, according to everyone else in here.
var xhr = new XMLHttpRequest();"GET", "", false);


Did you include the send()?


This bug exists for 239 days
Where's administration that should fix it?!?


HI, I resolve this problem with a blank line between xhr.send(); and the console.log lines . just this

var xhr = new XMLHttpRequest();"GET", "", false);
// Add your code below!
<<< ===== blank space

excuse me for my bad english!! greetings from Venezuela.