How to configure this in Kong ?
I tried using
"uris": ["/?events"]
“uris”: ["/%3fevents"]
but they don’t work and Kong returns “no API found with those values”.
In your example, events/eventDetails/101 is not part of the path, but the query.
Kong is only able to route queries via their path, but not their query. The easiest way of solving this problem is changing the urls of your app so they use ? for queries, not for paths. This will not only make them work correctly with Kong; if you want to interact with other apps you will likely experience similar issues.