( Microservices Architecture Training: https://www.edureka.co/microservices-architecture-training )
This Edureka's tutorial will help you understand how to implement REST Web Services With Spring Boot.
3. Microservices Architecture Training www.edureka.co/microservices-architecture-training
What Is REST?
Representational State Transfer (REST) is an architectural style that specifies constraints, such as the
uniform interface, that if applied to a web service induce desirable properties, such as performance,
scalability, and modifiability, that enable services to work best on the web..
REST API
Spring Boot Tutorial
4. Microservices Architecture Training www.edureka.co/microservices-architecture-training
Spring Boot Tutorial
REST Constraints
The interface
(URL) is
uniform and
exposing
resources
The service
should be
stateless
The service
results
should be
cacheable
Client-
Server
Service should
be assumed as a
layered
architecture
5. Microservices Architecture Training www.edureka.co/microservices-architecture-training
Spring Boot Tutorial
Principles Of REST
Every interaction with a resource is
stateless; that is, request messages
are self-contained.
Resources are decoupled from their
representation so that their content
can be accessed in a variety of
formats
Resources are manipulated using a
fixed set of four create, read, update,
delete operations
Exposes a set of resources that
identify the targets of the interaction
with its clients.
01
02
03
04
Resource identification
through URI
Self-descriptive
messages
Uniform interface
Stateful interactions
through hyperlinks
7. Microservices Architecture Training www.edureka.co/microservices-architecture-training
Spring Boot Tutorial
3 Steps To Create REST Services
02 0301
Setup Spring Boot
Project
Add GET Service Handle POST Service