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 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,009 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,009 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.