A uniform interface - A request should be made to a single endpoint or Uniform Resource Identifier (URI). e.g., https://mydomain/user/123?format=json ., Stateless. - The server does not track what requests the connecting client has made over time., Client-Server architecture - The server doesn’t know about the state of the client, and the client doesn’t know about the state of the server., Cachable - REST clients should be able to cache the responses that they receive from the REST server., Layered System - The client might connect to an intermediate server. This design enables the REST server to be distributed, which supports load balancing., Code on demand (optional) - The server could pass code (that can be run) to the client, such as some JavaScript.,

Six RESTFUL API design principles

Skor Tablosu

Görsel stil

Seçenekler

Şablonu değiştir

Otomatik olarak kaydedilen geri yüklensin mi: ?