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

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.

主站蜘蛛池模板: 渝北区| 逊克县| 新龙县| 濮阳市| 东光县| 镇巴县| 汉阴县| 乌拉特中旗| 台南县| 西乌| 福清市| 理塘县| 买车| 偃师市| 和林格尔县| 思南县| 滦平县| 得荣县| 怀柔区| 珠海市| 定日县| 从化市| 临朐县| 江永县| 阳西县| 阿尔山市| 南康市| 宝鸡市| 恭城| 县级市| 苏尼特左旗| 开封县| 临洮县| 什邡市| 利辛县| 东乡族自治县| 克拉玛依市| 周宁县| 临沭县| 太白县| 禄劝|