We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ea45bf commit 7104348Copy full SHA for 7104348
1 file changed
samples/features/json/todo-app/nodejs-express4-rest-api/app.js
@@ -2,7 +2,7 @@
2
var bodyParser = require('body-parser');
3
4
var app = express();
5
-app.use(bodyParser.raw());
+app.use(bodyParser.text());
6
app.use('/todo', require('./routes/todo'));
7
8
// catch 404 and forward to error handler
0 commit comments