Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript AngularJS Basics (1.x) Services in Angular Using Services To Get Data

Arshan Khanifar
Arshan Khanifar
11,497 Points

What's a REST api?

When he pointed out the address to the JSON file, he said it's like we're making a request to a REST api. What's a REST api? I keep hearing the term from the backend guys at work.

2 Answers

jason chan
jason chan
31,008 Points

https://teamtreehouse.com/library/build-a-rails-api

you can check out the class. It's similar to other languages too. Just try understand the concepts.

jason chan
jason chan
31,008 Points

It's basically, how outside programs interact with the mongo database or sql database with jquery, angular, or reactjs.

With backend technology like node, rails, asp.net, php they have to intereact with mysql and mongo database. But with rest api the program is built on top of it. So outside parties can access the api with javascript libraries.