Skip to content

Route plugins : include and exclude only takes the path ? #1674

Closed Answered by ptitFicus
quentinproust asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @quentinproust,

You're right, there is currently no way of doing this with a single route. You can indeed do this by creating multiple routes (using the Allowed HTTP methods plugin.

This is a design choice to avoid creating very complex route definition that would be quite hard to understand/debug.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mathieuancelin
Comment options

Answer selected by ptitFicus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants