New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🤗 How to get path param before a custom verb? #1931
Comments
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
Can you change verb to query string? |
@suttapak Thank you for reply. Our API follow the Google API Design, so it's not easy to replace custom verb with query string. |
Will check it more closely at the weekend Think the problem is that the end of the parameter name can not be determined by our logic |
sorry had no time until now, will look at it in the next few days |
@ReneWerner87 No problem. I'm not in a hurry. |
FIX for "🤗 How to get path param before a custom verb? #1931"
…ofiber#1983) * Add possibility for parameters before custom verb FIX for "🤗 How to get path param before a custom verb? gofiber#1931" * try to stabilize the tests
Question description
The http request is
GET http://localhost:3000/resources/123:verb
How to get
123
from request path? I tried\\:customVerb
as the document said butc.Params("id")
return nothing.Version
v2.34.0
Code snippet
The text was updated successfully, but these errors were encountered: