How Can i send a request to update status. #546
Unanswered
bestony
asked this question in
Help (Vue)
Replies: 1 comment 1 reply
-
Why not make a normal API Endpoint that has nothing to do with Inertia? Something like a simple endpoint that returns the status which you call by using axios, fetch or any other HTTP Call? With response json you could return plain json. That should do the trick no? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to send request to update use state (like heartbeat request)
What should i do in Inertia.js & Laravel ?
Why Not Normal Inertia request?
Inertia Request must return a Inertia Response, if not ,it will show return msg on screen, i can't just return a "ok" in my function.
I tried this methods
In Controller
In Page Component
my question
it works, but i think it's ugly, is here any better way to do it ?
Beta Was this translation helpful? Give feedback.
All reactions