uniform-interface

REST - What exactly is meant by Uniform Interface?

陌路散爱 提交于 2019-12-03 01:30:48
问题 Wikipedia has: Uniform interface The uniform interface constraint is fundamental to the design of any REST service.[14] The uniform interface simplifies and decouples the architecture, which enables each part to evolve independently. The four guiding principles of this interface are: Identification of resources Individual resources are identified in requests, for example using URIs in web-based REST systems. The resources themselves are conceptually separate from the representations that are

REST - What exactly is meant by Uniform Interface?

我们两清 提交于 2019-12-02 16:47:15
Wikipedia has: Uniform interface The uniform interface constraint is fundamental to the design of any REST service.[14] The uniform interface simplifies and decouples the architecture, which enables each part to evolve independently. The four guiding principles of this interface are: Identification of resources Individual resources are identified in requests, for example using URIs in web-based REST systems. The resources themselves are conceptually separate from the representations that are returned to the client. For example, the server may send data from its database as HTML, XML or JSON,