You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to documentation, r.POST("/api/v1/test", ...) should support both path: /api/v1/test and /api/v1/test/
This is not the case, when I call /api/v1/test/, I get a 405 Method not allowed error. The redirect to /api/v1/test does not happen.
Same applies when I define route as r.POST("/api/v1/test/", ...) In this case, only /api/v1/test/ works. When calling /api/v1/test I get HTTP 405 error.
The text was updated successfully, but these errors were encountered:
According to documentation,
r.POST("/api/v1/test", ...)
should support both path:/api/v1/test
and/api/v1/test/
This is not the case, when I call
/api/v1/test/
, I get a 405 Method not allowed error. The redirect to/api/v1/test
does not happen.Same applies when I define route as
r.POST("/api/v1/test/", ...)
In this case, only/api/v1/test/
works. When calling/api/v1/test
I get HTTP 405 error.The text was updated successfully, but these errors were encountered: