What exactly is RESTful programming?

前端 未结 30 3822
Happy的楠姐
Happy的楠姐 2020-11-21 06:02

What exactly is RESTful programming?

30条回答
  •  没有蜡笔的小新
    2020-11-21 06:31

    What is REST?

    REST in official words, REST is an architectural style built on certain principles using the current “Web” fundamentals. There are 5 basic fundamentals of web which are leveraged to create REST services.

    • Principle 1: Everything is a Resource In the REST architectural style, data and functionality are considered resources and are accessed using Uniform Resource Identifiers (URIs), typically links on the Web.
    • Principle 2: Every Resource is Identified by a Unique Identifier (URI)
    • Principle 3: Use Simple and Uniform Interfaces
    • Principle 4: Communication is Done by Representation
    • Principle 5: Be Stateless

提交回复
热议问题