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