Layered System: Communication between a client and a server should be standardized in such a way that allows intermediaries to respond to requests instead of the end server, without the client having to do anything different.Cacheable: The server must indicate to the client if requests can be cached or not.In other words, the server cannot store information provided by the client in one request and use it in another request. Stateless: Each request from a client must contain all the information required by the server to carry out the request.Client-Server: There should be a separation between the server that offers a service, and the client that consumes it.The characteristics of a REST system are defined by six design rules: In this article I'm going to show you how easy it is to create a RESTful web service using Python and the Flask microframework. In recent years REST (REpresentational State Transfer) has emerged as the standard architectural design for web services and web APIs.
0 Comments
Leave a Reply. |