首页 > 其他 > 详细

restful接口定义的几种方式

时间:2019-02-27 14:59:11      阅读:157      评论:0      收藏:0      [点我收藏+]
GET (SELECT): Retrieve a specific Resource from the Server, or a listing of Resources.       

                       #从服务器检索特定的资源,或资源列表。

POST (CREATE): Create a new Resource on the Server. 

                      #在服务器上创建新资源。

PUT (UPDATE): Update a Resource on the Server, providing the entire Resource. 

                      #更新服务器上的资源,提供整个资源。

PATCH (UPDATE): Update a Resource on the Server, providing only changed attributes. 

                      #更新服务器上的资源,只提供已更改的属性。

DELETE (DELETE): Remove a Resource from the Server. 

                     #从服务器中删除资源。


 

 

如何用pyhton中的requests调用put的接口?

 

restful接口定义的几种方式

原文:https://www.cnblogs.com/yoyoma0355/p/10402702.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!