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 AJAX Basics (retiring) AJAX Concepts AJAX Security Limitations

Omar Hamza
PLUS
Omar Hamza
Courses Plus Student 1,985 Points

why isn't REST API one of the methods?

I understood the methods to get data from other servers, but what about REST API does it do that same thing? and if it does why it is not mentioned. I am confused can someone please clarify. What is the difference between the methods mentioned and a REST API? Thank you.

1 Answer

Charles Wanjohi
Charles Wanjohi
9,235 Points

These are client side Ajax methods for communicating with the server side APAI's .Rest API is for server side