📜  put vs patch - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:39.684000             🧑  作者: Mango

代码示例1
PUT vs PATCH 
    PATCH is used to update an existing entity with new information. 
    You can’t patch an entity that doesn’t exist.
    
    PUT is used to set an entity’s information completely. PUTting is 
    similar to POSTing, except that it will overwrite the entity 
    if already exists or create it otherwise.