Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdevel committed Jan 2, 2016
1 parent e16b33c commit c3a5dbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ first arg, `express-crud` will use either `204` or `200` depending on the contex
If you wish to pass a non `2xx` status code up to your application the preferred
way is to assign a `status` property to your `error` object I.E. `cb({status: 404})`.

## Reading req.body

Starting with `express@4.x.x`, `body-parser` isn't active by default. See #16 for a working example with the `body-parser` middleware.

[downloads-image]: http://img.shields.io/npm/dm/express-crud.svg
[npm-url]: https://npmjs.org/package/express-crud
[npm-image]: http://img.shields.io/npm/v/express-crud.svg
Expand Down

0 comments on commit c3a5dbf

Please sign in to comment.