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
The only difference is that in the second example, I renamed the path variable to slug instead of category_slug for the delete handler.
The text was updated successfully, but these errors were encountered:
Marclev78
changed the title
Handler functions with same path but different http method can't use different path variable names
[BUG] Handler functions with same path but different http method can't use different path variable names
May 2, 2024
Given two handler functions:
This works fine:
But this doesn't and results in a 405 error when calling the delete handler:
The only difference is that in the second example, I renamed the path variable to
slug
instead ofcategory_slug
for the delete handler.The text was updated successfully, but these errors were encountered: