Skip to content

Commit

Permalink
fixed typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusw committed Jul 19, 2016
1 parent 44e2281 commit 09bae0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ mock.onAny(/.*/).reply(config => {
});
```

Mocking a request with a specific request body
Mocking a request with a specific request body/data

```js
// usable with reply, replyOnce, onAny, onPatch, onPost, onPost ...
// usable with reply, replyOnce, onAny, onPatch, onPost, onPut ...
mock.onPut('/withBody', { request: 'body' }).reply(200);
```

0 comments on commit 09bae0e

Please sign in to comment.