Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
okondrashin committed Jul 28, 2017
1 parent 1035c59 commit fd0b77f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -103,8 +103,8 @@ returns a body that looks like:
"three": "value3"
}
```
Be careful, if you use name of the parameter equal field name from xml,json,key/value body, the URL Pattern Matching parameter will replace this field.

**Be careful**, when using 'urlRegex', the value captured by the named group in the regex will take precedence over the variables in the xml/json/key-value request body.
##### Example
Fetching url `/param/10` with body `var=11&got=it`
```
Expand All @@ -124,6 +124,8 @@ returns a body that looks like:
}
```

So, the **$(var)** was replaced with url regex **var=10** instead of the body **var=11**

### Usage

#### As part of [Unit Testing with Wiremock](http://wiremock.org/extending-wiremock.html):
Expand Down

0 comments on commit fd0b77f

Please sign in to comment.