|
|
|
|
|
by eulerphi
4636 days ago
|
|
Imagine trying to fit a vault in a cubbyhole meant for shoes. That's what RESTful APIs end up fighting with. I would gander that because DELETE refers to permanent deletion, whereas destroy is reversible, they chose to use the less confusing verb. The real problem with trying to conform to REST is that there's no rigorous definition, and this leads to the same verb being used for slightly different purposes among APIs. |
|
[1] http://www.w3.org/Protocols/rfc2616/rfc2616.html