Just making a delete request from a form but not working. can you help please ?
<form method="POST" action="/products/">
@csrf
@method('DELETE')
<button type="submit">delete</button>
here is my route:
Route::delete('/products/{del}',function($del){
return $del.' deleted';
});
this give no errors, i just have a blank page
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire