I would like to create a generic route for all the incoming request, extract the path and process it further.
How do we achieve this in Kong? How to extract the ‘path’ value into a variable and process it?
Thanks
I would like to create a generic route for all the incoming request, extract the path and process it further.
How do we achieve this in Kong? How to extract the ‘path’ value into a variable and process it?
Thanks
Take a glance at this plugin we wrote:
The specific param you are looking for to help evaluate path is:
ngx.var.request_uri