GoConqr has a new look! Let us know what you think.

Mind map

Rest

CARLOS ANDRES REALES PEÑA Ingeniería Spanish

Map content

Rest

  1. it is an architectural style to provide services between computer systems on the web

  2. 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)
  3. 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
  4. 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
  5. 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
    • clients send requests to retrieve or modify resources, and servers send responses to these requests.

Information

Description
Ingeniería Mind Map on Rest, created by CARLOS ANDRES REALES PEÑA on 11/05/2020.
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?