Since HTML forms can't make PUT
, PATCH
, or DELETE
requests, you
will need to add a hidden _method
field to spoof these HTTP verbs:
<form action="/post/my-post" method="POST">
@method('PUT')
...
</form>
Comments
Since HTML forms can't make PUT
, PATCH
, or DELETE
requests, you
will need to add a hidden _method
field to spoof these HTTP verbs:
<form action="/post/my-post" method="POST">
@method('PUT')
...
</form>