There is no such thing as perfect programming, but we shouldn’t be discouraged because programming is a constant pursuit of perfection.

In an Ajax or presents $HTTP request, there will be a {method: “DELETE”} not return a result, not code has a problem, because to filter out the security system, to achieve DELETE function, then use {method: “POST”}