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

Are Arntsen
Are Arntsen
11,035 Points

Where do I put the username & password for my REST request??

I know little about how to get and push data safely to a web database and can´t seem to figure out which courses to take here in the treehouse to learn this. I have my database web service that has a built in REST service. To access the database there is an authentication needed. So this goes in the http request? This means my password to manipulate the entire database is in the js file for all to see no?? How is this done safely? Any suggestions for courses or workshops?