帮我发送{"simple": "json"}
,然后我回来{ }
var express = require('express');
var app = express();
var bodyParser = require('body-parser');
app.use(bodyParser.json()); // for parsing application/json
app.set('port', (process.env.PORT || 5000));
app.use(express.static(__dirname + '/public'));
app.post('/', function (req, res) {
console.log(req.body);
res.json(req.body);
})