Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

read request path parameters from javascript object model

Hi there,

How can read request path parameters from APIGEE proxy context.proxyRequest ?

var request = context.proxyRequest;

I am able to read query params by request.queryParams. how can read path parameters ?

I need to read a path parameter from url, example : /test/test/{id}.

Is there a way like request.pathParams ? does it possible ? or We need to use substring operation to read the path parameters from URL ?

Thanks.

0 4 1,939
4 REPLIES 4
Top Solution Authors