Skip to content

Commit ecae19f

Browse files
authored
docs: Fixed typo and paragraphs
1 parent fd61145 commit ecae19f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,9 @@ apiMocker('/api', {
423423
With that option, you can mock only specific urls simply.
424424
425425
## Body parser
426-
By default request body is pre-processed with [body-parser](https://github.com/expressjs/body-parser).
427-
Default body-parser configuration uses JSON parser. Example belows configures usage of `json` (default) parser
428426
429-
In order to disable dfault pre-processing set `bodyParser` option to `false`.
427+
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`.
428+
430429
```js
431430
apiMocker('/text', {
432431
target: 'test/mocks',

0 commit comments

Comments
 (0)