Mindmap
WHAT IS REST?
Inhalt der Mindmap
WHAT IS REST?
REPRESENTATIONAL STATE TRANSFER
- Is an architectural style for providing standards between computer systems on the web
SEPARATION OF CLIENT AND SERVER
- RESTful systems, are characterized by how they are stateless and separated the concerns of client and server
- This means that it doesn't matter if the code of the client or the code of the system changes the operation will not change
- The separation allows each componet the ability to evolve independently
- This means that it doesn't matter if the code of the client or the code of the system changes the operation will not change
- RESTful systems, are characterized by how they are stateless and separated the concerns of client and server
STATELESSNESS
- The server does not need to know anything about what state the client is in and vice versa
- Both the server and the client can undestand any message received
- These contraints help RESTful applications archive reliabity, quick performance, and scalability
- Both the server and the client can undestand any message received
- The server does not need to know anything about what state the client is in and vice versa
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.
- HTTP verbs
- GET,POST,PUT,DELETE
- Header
- The client sends the type of content that it is able to receive from the server
- MIME Types, used to specify the content types in the Accept field, consist of a type and a subtype. They are separated by a slash (/)
- The client sends the type of content that it is able to receive from the server
- Path
- Requests must contain a path to a resource that the operation should be performed on
- Paths should contain the information necessary to locate a resource with the degree of specificity needed.
- Requests must contain a path to a resource that the operation should be performed on
- an optional message body containing data
- HTTP verbs
- REST requires that a client make a request to the server in order to retrieve or modify data on the server.
- MAKING REQUESTS
- clients send requests to retrieve or modify resources, and servers send responses to these requests
SENDING RESPONSES
- CONTENT TYPES
- In cases where the server is sending a data payload to the client, the server must include a content-type in the header of the response
- RESPONSE CODES
- Responses from the server contain status codes to alert the client to information about the success of the operation
- CONTENT TYPES
Informationen
- Beschreibung
- Mindmap am WHAT IS REST?, erstellt von FORERO BOHORQUEZ RENAN ADRIAN am 15/05/2019.
- Erstellt von
- FORERO BOHORQUEZ RENAN ADRIAN
- Aufrufe
- 0
- Bewertung