Skip to content

Commit

Permalink
docs: Fixed typo and paragraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
muratcorlu authored Sep 26, 2019
1 parent fd61145 commit ecae19f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,9 @@ apiMocker('/api', {
With that option, you can mock only specific urls simply.
## Body parser
By default request body is pre-processed with [body-parser](https://github.com/expressjs/body-parser).
Default body-parser configuration uses JSON parser. Example belows configures usage of `json` (default) parser
In order to disable dfault pre-processing set `bodyParser` option to `false`.
By default request body is pre-processed with [body-parser](https://github.com/expressjs/body-parser). Default body-parser configuration uses JSON parser. Example belows configures usage of `json` (default) parser. In order to disable default pre-processing set `bodyParser` option to `false`.
```js
apiMocker('/text', {
target: 'test/mocks',
Expand Down

0 comments on commit ecae19f

Please sign in to comment.