EthanRBrown / web-development-with-node-and-express

Companion repository to Web Development With Node and Express, first edition.
1.01k stars 503 forks source link

ch15. before: Using a REST Plugin #89

Open ghost opened 7 years ago

ghost commented 7 years ago

by book example, before using 'connect-rest' if someone want to try created app need to use:

var bodyParser = require('body-parser');
app.use(bodyParser.json());

for parsing request parameters.