Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

six constraints of rest api

Anjali Sharma answered on January 12, 2023 Popularity 6/10 Helpfulness 6/10

Contents


More Related Answers

  • rest countries api
  • api architectural constraints
  • REST country API
  • restcountries.eu api
  • What are the benefits of REST APIs?#
  • rest api description
  • REST Countries API
  • Rest Countries api
  • 6 rest architectural constraints
  • how do you verify the size of the response in api
  • key characteristics of rest api
  • What is the role of Consumer API?
  • Add REST API which consume other service’s REST API
  • rest countries api

  • six constraints of rest api

    1

    There are six constraints which the system or application should meet in order to qualify as RESTful. All of them actually play

    very well by the rules of the microservice architecture.

    • Uniform Interface: it does not matter who is the client, the requests look the same.

    • Separation of the client and the server : servers and clients act independently (separation of concerns).

    • Statelessness : no client-specific context is being stored on the server between requests and each request from any client

    contains all the information necessary to be serviced.

    • Cacheable : clients and intermediaries can cache responses, whereas responses implicitly or explicitly define themselves as

    cacheable or not to prevent clients from getting stale data.

    • Layered system : a client cannot ordinarily tell whether it is connected directly to the end server or to an intermediary along

    the way.

    • Code on demand (optional): servers can temporarily extend or customize the functionality of a client by transferring executable code (usually some kind of scripts)

    https://www.geeksforgeeks.org/rest-api-architectural-constraints/

    Popularity 6/10 Helpfulness 6/10 Language typescript
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jan 12 2023
    Anjali Sharma
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.