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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.