vendredi 4 avril 2014

Laravel DELETE request as API


Vote count:

0




When you want to make 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?



asked 34 secs ago

Kousha

114





Aucun commentaire:

Enregistrer un commentaire