开发者

What does REST mean in real world? [duplicate]

开发者 https://www.devze.com 2023-04-10 17:18 出处:网络
This question already has answers here: 开发者_如何学运维Closed 11 years ago. Possible Duplicate:
This question already has answers here: 开发者_如何学运维 Closed 11 years ago.

Possible Duplicate:

What am I not understanding about REST?

I am really confused about REST.What does REST mean in real world? What does it mean being a RESTful api? If I write some code in PHP,is it by default RESTful? Please explain with some examples.


Wikipedia has a page on it: Representational State Transfer.

From a practical standpoint, it's a way of building a web service by taking advantage of the features of HTTP itself, rather than building a layer on top of HTTP (as SOAP does).

Code written in PHP (or any other language) isn't inherently RESTful. It's a characteristic of how you design your program, not what language you write it in.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号