官术网_书友最值得收藏!

The uniform interface

This is the constraint that makes REST different from other network architecture patterns. The interfaces exposed by the components are generalized. The server does not have intimate knowledge of its consumers. It serves all requests from clients in the same way. What you get is coarse grained data, as not all consumers would want this amount of data.

To get a uniform interface, four constraints will have to be applied:

  • Identifying resources
  • Manipulating resources
  • Self-descriptive messages
  • Hypermedia as the engine of the application state

We will look into these later on.

主站蜘蛛池模板: 铅山县| 涿州市| 宁都县| 嘉义县| 呼伦贝尔市| 长顺县| 牟定县| 贵德县| 开远市| 靖远县| 宕昌县| 诸暨市| 嘉荫县| 中西区| 新野县| 萝北县| 称多县| 静安区| 左权县| 张家界市| 新乡县| 北川| 临安市| 富宁县| 保亭| 洞头县| 闵行区| 灌云县| 灵台县| 汕尾市| 甘肃省| 永嘉县| 崇明县| 东海县| 慈溪市| 长兴县| 岳西县| 湖南省| 怀化市| 钦州市| 炉霍县|