This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Daniel Klintworth
over 10 years

"http://www.codecademy.com/doesnt_exist" does exist

In the YouTube API course lesson 3.1 HTTP Status Codes an XMLHttpRequest is sent to the address http://www.codecademy.com/doesnt_exist. All I should have to do to pass is log the returned status code. However, the URL http://www.codecademy.com/doesnt_exist leads to a user’s profile and thus does not return the expected 404 but instead a 200 and I fail the lesson. I could solve this by just changing the URL to something nonsensical, but this should probably be fixed.

Answer 522a378d80ff33ad4c005883

4 votes

Permalink

Yeah, I found the same thing. Some jackwaggon thought they’d be funny.

points
Submitted by Mike McHenry
over 10 years

Answer 55a75daed3292f045f0002ab

2 votes

Permalink

Change it to this.. notice the https instead of http

    var xhr = new XMLHttpRequest();
    xhr.open("GET", "https://www.codecademy.com/doesnt_exist", false);
    xhr.send();
    // Add your code below!
    console.log(xhr.status);
points
Submitted by Terry
over 8 years

Answer 5233bda780ff3302ca002427

1 vote

Permalink

Awesome what some people with think up ;)

I’ve just reported it in the Buggy Exercises group. How fast it gets fixed will depend on how busy they are. In the meantime you can change the suggested page so you can move on.

http://www.codecademy.com/groups/buggy-exercises/discussions/5233bd1c80ff33183600292d

points
Submitted by Judy
over 10 years

Answer 52328554f10c60cb5f0018a7

0 votes

Permalink

thanks for pointing the issue

points
Submitted by Mohd Hazli
over 10 years

Answer 523375f5abf8214ffb0015bf

0 votes

Permalink

Good one, doesn’t exist, good one.

points
Submitted by Matt West
over 10 years

Answer 524330a380ff33d381000465

0 votes

Permalink

ok, your a jerk if you do this

points
Submitted by oetze van den broek
over 10 years

Answer 5342d492282ae399d90003a0

0 votes

Permalink

I want to know who did that…..

points
Submitted by Danny Viola
almost 10 years