Two Resource paths with and without URL parameter

Hi,

We have two resource paths configured in default.xml

i.e., /accounts/{param}/products with condition

request.verb = “GET” AND (proxy.pathsuffix MatchesPath “/accounts/{param}/products”)

and /accounts/products with condition

request.verb = “GET” AND (proxy.pathsuffix MatchesPath “/accounts/products”)

If the resource path is /accounts//products, Apigee is converting the path to /accounts/products and entering the flow with /accounts/products as the resource path.

Is it an expected behaviour of Apigee converting “//” to “/”?

Thanks in Advance

Hi @Nitesh Shivarao Nadiger,

Yes this is expected as it will ignore one ’ / ’ . This ie expected for any url , try Wake up to WonderWidgets! and Wake up to WonderWidgets! . Both will give you same result