开发者

Web Servers and REST Methods

开发者 https://www.devze.com 2022-12-24 08:28 出处:网络
M开发者_高级运维ost web browsers support only HTTP methods like GET and POST and do not support PUT and DELETE.

M开发者_高级运维ost web browsers support only HTTP methods like GET and POST and do not support PUT and DELETE.

If so, does web servers like IIS and Apache support it? Why should them support if the web browsers don't supports them? Those methods can be used for something else?


Web servers support these verbs because they are part of the HTTP specification and because browsers are not the only clients of web servers especially in the Web 2.0 era. There are more and more RESTful APIs today.

0

精彩评论

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

关注公众号