Is REST only for Web APIs? If not, then what other systems can obey REST apart from Web APIs?

前端 未结 3 2014
孤街浪徒
孤街浪徒 2021-01-19 04:35

I hear people say as per Roy Feilding that REST is not just for web services. If so, what other systems/mechanisms/anything can use it?

3条回答
  •  逝去的感伤
    2021-01-19 04:56

    Any system that uses URIs to communicate information would be able to use REST.

    Example: a theoretical database that fully follows REST rules.

    Example resource "serverhost/database/table/1"

提交回复
热议问题