REST has quickly become the de facto standard for building web services on the web because they’re easy to build and easy to consume. Building a REST API with Spring is a step-by-step guide to building RESTful APIs. This guide will help you understand the REST fundamentals of building RESTful web services.
Building a REST API is not a complex task. Spring has made REST a first-class citizen starting from Spring 3.0. This guide will cover all the fundamentals of the REST and will walk you through building a RESTful API using Spring, Spring MVC, and Spring Boot.
Here are main characteristics of REST services
- Stateless – The most important characteristic of a REST service
- Cacheable – it shall apply Caching to resources when applicable
- Uniform interface – Should have an uniform interface
- Client–Server – Client application and server application MUST be able to evolve separately.
- Layered system – REST allows you to use layered system architecture.
- REST API Introduction
- What is REST API
- REST Web Services Bascis
- REST Resource Naming Guide
- HTTP Methods in RESTful Web Services
- REST API -Setup
- REST API – Core Concepts
- Spring REST API Validation
- Introduction to REST Content Negotiation
- Error Handling for REST with Spring
- Data Conversion for Spring REST API
- REST Pagination in Spring
- HTTP PUT vs HTTP PATCH in a REST API
- REST API – Documentation and Discovery
- REST API Discoverability
- Versioning a REST API
- Spring HATEOAS
- Swagger 2 with Spring REST API
- Documenting your REST API using Spring Docs
- REST API – Advance
- Security