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
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.
<path isRegExp="[false,true]" >[string]</path > <serviceProxy port="2000">
<path >/bank</path >
<target host="bank.predic8.de" />
</serviceProxy> | Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| isRegExp | false | false |
If set to true the content will be evaluated as a Java Regular Expression.
|
true |