Mapa mental
Rest Architecture
Contenido del mapa
Rest Architecture
REPRESENTATIONAL STATE TRANSFER
- is an architectural style for providing standards between computer systems on the web
- REST-compliant systems, often called RESTful systems, are characterized by how they are stateless and separate the concerns of client and server
- is an architectural style for providing standards between computer systems on the web
SEPARATION OF CLIENT AND SERVER
- the implementation of the client and the implementation of the server can be done independently without each knowing about the other
- By using a REST interface, different clients hit the same REST endpoints, perform the same actions, and receive the same responses.
- the separation allows each component the ability to evolve independently.
- the implementation of the client and the implementation of the server can be done independently without each knowing about the other
STATELESSNESS
- meaning that the server does not need to know anything about what state the client is in and vice versa
- REST systems interact through standard operations on resources
COMMUNICATION BETWEEN CLIENT AND SERVER
- clients send requests to retrieve or modify resources, and servers send responses to these requests
MAKING REQUESTS
- REST requires that a client make a request to the server in order to retrieve or modify data on the server
- an HTTP verb
- a header
- a path to a resource
- an optional message
- REST requires that a client make a request to the server in order to retrieve or modify data on the server
HTTP VERBS
- There are 4 basic HTTP verbs we use in requests to interact with resources in a REST system
- GET
- POST
- PUT
- DELETE
- There are 4 basic HTTP verbs we use in requests to interact with resources in a REST system
HEADERS AND ACCEPT PARAMETERS
- the client sends the type of content that it is able to receive from the server
PATHS
- Requests must contain a path to a resource that the operation should be performed on
- In RESTful APIs, paths should be designed to help the client know what is going on.
SENDING RESPONSES
- CONTENT TYPES
- This content-type header field alerts the client to the type of data it is sending in the response body
- RESPONSE CODES
- Responses from the server contain status codes to alert the client to information about the success of the operation.
- CONTENT TYPES
Información
- Descripción
- Mapa Mental sobre Rest Architecture, creado por JUAN PABLO VALENCIA QUINTERO el 12/05/2020.
- Creado por
- JUAN PABLO VALENCIA QUINTERO
- Visitas
- 0
- Valoración
Más sobre Service-Oriented Architecture