79620905

Date: 2025-05-14 07:17:00
Score: 1.5
Natty:
Report link

In you route make sure you are using PUT

Route::put('/foo/bar', [YourController::class, 'update']);

And also add @csrf token

<form action="/foo/bar" method="POST">
    @csrf
    @method('PUT')

    <!-- Your form inputs go here -->
</form>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @csrf
  • Low reputation (0.5):
Posted by: Abdullah Al Shahed