Methods to Handle Request Type #146
Answered
by
lorisleiva
devajmeireles
asked this question in
Q&A
-
Hey, there! I started using InertiaJS. Is there any way an Action can support a "GET" method and another "POST/PUT/DELETE" method? I tried using the scheme:
... But both requests (GET: page access and POST/PUT: data sent by InertiaJS) are sent to
... And so on! C/C @lorisleiva |
Beta Was this translation helpful? Give feedback.
Answered by
lorisleiva
Nov 23, 2021
Replies: 1 comment 2 replies
-
Hi there 👋 Does this help? https://laravelactions.com/2.x/register-as-controller.html#routes-with-explicit-methods |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
devajmeireles
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there 👋
Does this help? https://laravelactions.com/2.x/register-as-controller.html#routes-with-explicit-methods