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

JavaScript

Node.js Basics

I started the Node.js Basics a couple days ago and my code to retrieve a user's javascript points and badges was working. Now I get a 301 Moved Permanently error. The address for the user data JSON is given as "http://teamtreehouse.com/username.json". If you put that in the browser it redirects to "https://teamtreehouse.com/username.json". Changing the http request to https in the get function is not supported. Has the user JSON actually been moved so I can no longer get it?

1 Answer