-
Please this is a FAQ but I can't seem to find a way to label it. How can I attach specific methods (get and post) to one handler? All the examples available use just one http method.
Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
bfamzz
Jun 24, 2020
Replies: 2 comments
-
There's no specific way, you just call get and post with the same handler. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@alexhultman you mean something like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@alexhultman you mean something like this: