Get method with ? to receive parameter #1549
Answered
by
dileepgopal
dileepgopal
asked this question in
Q&A
-
Hello All, Your help would be much appreciated Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
dileepgopal
Sep 30, 2021
Replies: 1 comment 3 replies
-
I found the solution as defined the controller get decorator as @get("/method") and accessed the query param in the method as req.query.q |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Romakita
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the solution as defined the controller get decorator as @get("/method") and accessed the query param in the method as req.query.q
If any other better solution please suggest