mercredi 27 novembre 2019

Should I use Get or Delete method to delete a record in laravel?

I've seen many questions and posts using the Get method passing the ID on the url like /articles/delete/{id}.

The route in this case is defined with the GET method. Whats the difference if I use the Delete method and how can I use it?

Which one should I use?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire