Inertia router.post generates error "All Inertia requests must receive a valid Inertia response, however a plain JSON response was received." #4734
Closed
simonjcarr
started this conversation in
General
Replies: 1 comment 1 reply
-
It was as simple as restarting adonis. Not sure if the problem is because I am using WSL, but the frontend is updating the backend wasn't |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hope someone can help, this driving me nuts and I know it should be so easy, so I am obviously doing something wrong.
In my react component I have
values
has the following valueI have the following route
I have the following controller method
data
=sdfsd sdfsdf@sdsdf.com password
I don't get redirected to
/
, instead I stay on the/register
page and the following modal pops upAny ideas what I am doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions