Explanation:
The element's content is matched against the request path.
If isRegExp="true", the entire path must match the regular expression. If isRegExp="false", the path must start with the specified string.
When <path/> appears inside a <soapProxy/>, the isRegExp attribute must not be used.
When placed within an <api> (rather than a <serviceProxy>), you may use a URI template (e.g. /books/{id}). The path parameter will be available in scripts via the pathParam variable.
Syntax
<path isRegExp="[false,true]" >[string]</path ><path isRegExp="[false,true]" >[string]</path >
Sample
<serviceProxy port="2000">
<path >/bank</path >
<target host="bank.predic8.de" />
</serviceProxy><serviceProxy port="2000"> <path >/bank</path > <target host="bank.predic8.de" /> </serviceProxy>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| isRegExp | false | false | If set to true the content will be evaluated as a Java Regular Expression. | true |