support api
#1788
Replies: 1 comment
-
I also want this feature, now I'm using axios but will be great in inertia also support api calls |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hello developers,
however I know inertiajs supports it to lazily call back a variable that hasn't already been rendered. But hasn't thought of inertiajs supporting api too? That is only through an option to disable the 'x-inertia' headers parameter and the return to support Promise. I have given an example below. As an idea, the sample could be improved.
Beta Was this translation helpful? Give feedback.
All reactions