Level 1
Ok, seems I need send my form.put() requests on Vue side like form.post() but with form._method: 'PUT'.
I noticed that Inertia redirects requests from an unauthenticated user to login along with the method! For example, if I make a PUT request to the /test route, which is protected by the auth:sanctum middleware, then Inertia tries to send a PUT request to login instead of a GET. How can I fix this?
Ok, seems I need send my form.put() requests on Vue side like form.post() but with form._method: 'PUT'.
Please or to participate in this conversation.