@melon-lord We have no idea without seeing any code, or what requests you’re making.
Update method results in 404 not found when using ->update()
Hi, im still new to laravel, and just starting out the basics, ive just made a controller that handles a Model's update using the ->update() method. It works well, but ive realized if im performing an update with no changes on any fields whatsoever, it returns a 404 not found instead in my Postman Client.
Any idea what might cause this ? I have only searched for the docs and didnt' found anything related to 404 responses. And if you might wonder:
"Did you pass the correct id ?" => "Yes I passed the correct id" "Route Model Binding?" => "Yes I use route model binding"
Simply put, i passed the exact same request that works the first time, but not the second time (no changes on the fields/attributes)
Please or to participate in this conversation.