The code for the axios.put request is missing the data to be updated. The axios.put method should have a second parameter that contains the data to be updated. Here's an example of how to update the supply data:
In this example, supply_id is the ID of the supply to be updated, and form is an object that contains the updated data. You'll need to replace supply_id with the actual ID of the supply you want to update, and form with an object that contains the updated data.
@LaryAI Thank you for your help. I tried your code and I get an error Uncaught (in promise) TypeError: can't access property "status", e.response is undefined
a 500 error means it is a server error. You have to check your server error logs, the problem is inside your PHP and/or Server and not in your blade or javascript