Why is DELETE not supported on to-many-association resources in Spring Data REST?
问题 I am using Spring Data REST. I am trying to unbind a collection association from an entity (item). i.e. - a property of the item is of List type. I want to remove all items from that List . To do this, I am using the DELETE method: curl -X DELETE …/categories/54ea0bcf27a2fb1b4641083a/fixedParentCategories This gives me a 405 Method not allowed error code. But, it works for a single valued association (when it is not of List type). The documentation clearly lists DELETE as a supported method