Table of Contents
Preface
Part 1 – RESTful Web Services
1
RESTful Web Service Fundamentals
Technical requirements
Introducing REST APIs
The history of REST
REST fundamentals
Handling resources and URIs
The URI syntax
What is a URL?
What is a URN?
Exploring HTTP methods and status codes
POST
GET
PUT
DELETE
PATCH
HTTP status codes
What is HATEOAS?
Best practices for designing REST APIs
Using nouns and not verbs when naming a resource in the endpoint path
Using the plural form for naming the collection resource in the endpoint path
Using hypermedia (HATEOAS)
Versioning your APIs
Nesting resources
Securing APIs
Maintaining documentation
Complying with recommended status codes
Ensuring caching
Maintaining the rate limit
Introducing our e-commerce ...
Get Modern API Development with Spring 6 and Spring Boot 3 - Second Edition 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.