Bonus: REST, RESTful and web APIs

Before we talk about the API that we are going to use, we'll very briefly review the main ideas behind the RESTful approach. Entire books are dedicated to this architectural style, but we will try to convey the essence of what it is in a few paragraphs. So, please, bear with us!

REpresentational State Transfer (REST) is an architectural style for designing web services, which is heavily centered on the notion of resources that is core to the World Wide Web (WWW). The REST architectural style was defined by Roy Fielding in his Ph.D. dissertation (https://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm). Interestingly, Mr. Fielding is also one of the main authors of the HTTP specifications.

The main goals ...

Get Learn TypeScript 3 by Building Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.