BijuBalan
12 months agoNew Contributor
Service virtualization : Is it possible to use regular expression in resource path
We are using Ready API for service virtualization, is it possible to use regular expression in resource path,
Ex : Get /services/data/v11.0/query
Incoming request to the service will be http://{host}:{port}/services/data/v11.0/query?q=query parameter
In the above v11.0 is dynamic and for few environments we get v10.0, so we would like to know is there any way to use regular expression in resource path?
We tried using /services/data but this did not work.
Please see below documentation if not already.
https://support.smartbear.com/readyapi/docs/requests/rest/types.html
What you need is Parameter of template type where one can pass different values in the url path