Echo treats custom http methods as parameter #2108
Answered
by
aldas
EyalBerliner
asked this question in
Q&A
-
when creating new custom method to an endpoint (i.e. POST /users:update), Echo treats it as a parameter This create a situation where multiple APIs (i.e POST /users:update and POST /users:deleteAll) are routed to the same handler. |
Beta Was this translation helpful? Give feedback.
Answered by
aldas
Feb 28, 2022
Replies: 1 comment 4 replies
-
If you do not want example: Line 1157 in 27b404b |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
EyalBerliner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you do not want
:
used as param add it as\\:
example:
echo/router_test.go
Line 1157 in 27b404b