What's the difference between REST & RESTful

后端 未结 15 1283
情深已故
情深已故 2020-12-11 15:13

What\'s the difference between a REST system and a system that is RESTful?

From a few things I\'ve read most so called REST services are actually RESTful services. S

15条回答
  •  抹茶落季
    2020-12-11 15:41

    A "REST service" and a "RESTful service" are one and the same.

    A RESTful system is any system that follows the REST conventions as defined in the original document that created the idea of RESTful networked applications.

    It's worth noting there are varying levels of RESTfulness. Overall, REST is a style, not a standard, so there is room for interpretation based on needs. one example is hierarchical resource URLs (e.g. /things/ID/relatedthings) vs flat URLs (e.g. /things/ID and /relatedthings?thing=ID)

提交回复
热议问题