I've test these 3 ways
"/test1": "/result"
"/test2\\?*": "/result",
"/test3(\?.*)?": "/result"
/test1 works but not /test1?xxxxx
/test2 didn't works but /test2?xxxxx works
/test3 and /test3?xxxxx works together, but it is a mess to write
I don't understand why we're forced to do it, while "/test3/:id": "/result?:id" works in all cases
Any idea ?