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
I want to use c.ParamsInt to get the path parameter in my custom middleware, but it seems that I cannot get it.
In the code snippet below, the request path is as follows "/api/action/wol/12". I can get 12 through c.ParamsInt in the final handler, but cannot get 12 through c.ParamsInt in the custom middleware.
I am not sure if this is as it should be or a bug.
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
Question Description
I want to use c.ParamsInt to get the path parameter in my custom middleware, but it seems that I cannot get it.
In the code snippet below, the request path is as follows "/api/action/wol/12". I can get 12 through c.ParamsInt in the final handler, but cannot get 12 through c.ParamsInt in the custom middleware.
I am not sure if this is as it should be or a bug.
Code Snippet (optional)
Checklist:
The text was updated successfully, but these errors were encountered: