restful接口定义的几种方式


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的接口?

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM