DELETE应该是幂等的.
如果我删除http://example.com/account/123,它将删除该帐户.
如果我再次这样做,我会期待404,因为该帐户不再存在?如果我尝试删除从未存在过的帐户怎么办?
rest http http-headers
我无法理解为什么PATCH在PUT不安全的地方.也就是幂等部分 - 如果我更新资源的一个字段,那么该字段在更新后是否会返回相同的值?
rest http restful-architecture http-patch
http ×2
rest ×2
http-headers ×1
http-patch ×1
restful-architecture ×1