When you want to delete an item from the db, I know that you can use /resource/{id}
and use the contrller@destroy
action.
What is the advantage of passing a parameter in the URL as oppose to send a DELETE request and pass the parameter $id
via an Input
?