How to pass path parameters in routes?

How to pass path parameters from routes to third party api? for example:

[GET] /products/{product:id}/status

Kong proxy:

[GET] /products/{product:id}/status

Could you elaborate on what exactly you’re trying to solve and what is the issue at hand?

I have an api that looks like this:{:id}/balance

I want to use kong gateway as proxy so, how do I set up the path parameter “{:id}”?


You don’t need to setup the entire path in Kong for proxying your API.

You can simply have a Service pointing to your API and then have a route with path /v1.0/.

Please refer to the proxy reference guide: