Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Nicole Buckenwolf](https://secure.gravatar.com/avatar/639234412b2010a491a3420d0d4c10df?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Nicole Buckenwolf
8,721 Pointstypo in video leading to a question
I was following the video exactly and at first couldn't figure out why my code wasn't working, so first please note there is no e
between random
and user
in the api address - correct code is
requests.get("https://randomuser.me/api/")
But I also have a question about this, because I got a big old error, and the instructor's code appears to work, so I'm curious if anyone can explain why in the video they get Response [200]
with the misspelled API?
1 Answer
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsIt just so happens that the domain with the misspelled name does actually exist, and will return a response regardless of any additional tree information added to the request.
Warning: Browsing this domain is not recommended, as it appears to belong to a domain squatter that is also using a "virus alert" phishing scam. 😱