CHAPTER 1

image

Introduction to REST

In this chapter, we will learn:

  • REST fundamentals
  • REST resources and their representations
  • HTTP methods and status codes
  • Richardson’s maturity model

Today, the Web has become an integral part of our lives—checking statuses on Facebook to ordering products online to communicating via email. The success and ubiquity of the Web has resulted in organizations applying the Web’s architectural principles to building distributed applications. In this chapter, we will take a deep dive into REST, an architectural style that formalizes these principles.

What is REST?

REST stands for REpresentational State Transfer and is an ...

Get Spring REST 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.