How to use APIs with jQuery
No REST for the Wicked

In fact, this client/server relationship is a prerequisite of a set of principles called REST (or Representational State Transfer). This sounds kind of scary, but it's super-easy. Let's walk through it together.

Remember how we said that HTTP involves sending hypertext (text with links)? Whenever you navigate through a site by clicking links, you're making a state transition, which brings you to the next page (representing the next state of the application). That's it!

By following this simple model of clicking from page to page, you're starting to follow REST principles. When something follows REST principles, we say that thing is RESTful. We'll cover these principles in the next exercise.


Quiz time! Set the answer variable in the editor to the letter associated with the best answer.

Stuck? Get a hint! Hint
Get live, fast support from Codecademy Advisors when you get stuck. Learn more.

Your answer should be a string, like this: "D" (bonus hint: 'D' is not the best answer).

View Preview