Mapa mental
Rest
Contenido del mapa
Rest
it is an architectural style to provide services between computer systems on the web
RESPONSE CODES
- Server responses contain status codes to alert the client to information about the success of the operation
- 200 (OK)
- 201 (CREATED)
- 204 (NO CONTENT)
- 400 (BAD REQUEST)
- 403 (FORBIDDEN)
- 404 (NOT FOUND)
- 500 (INTERNAL SERVER ERROR)
- Server responses contain status codes to alert the client to information about the success of the operation
are characterized by
- they separate the concerns of the client and the server.
- they have no state
- Both server and client must know the communication format
- This separates responsibilities and better distributes resources
STATELESSNESS
- client and server do not need to recognize status
- Both the server and the client can understand any message received, even without seeing the previous messages.
- use resources instead of commands
- reliability, fast performance and scalability, like components that can be managed, updated and reused
COMMUNICATION BETWEEN CLIENT AND SERVER
- requirement format
- a path
- Requests must contain a path to a resource on which to perform the operation
- a header
- In the request header, the client sends the type of content that it can receive from the server.
- This is called Acceptcampo and ensures that the server does not send data that the client cannot understand or process.
- an HTTP verb
- GET retrieve a specific resource (by id) or a collection of resources POST create a new resource PUT update a specific resource (by id) DELETE remove a specific resource by id
- an optional message body containing data
- a path
- clients send requests to retrieve or modify resources, and servers send responses to these requests.
- requirement format
Información
- Descripción
- Ingeniería Mapa Mental sobre Rest, creado por CARLOS ANDRES REALES PEÑA el 11/05/2020.
- Creado por
- CARLOS ANDRES REALES PEÑA
- Visitas
- 0
- Valoración