post数据怎么获取不到?
var app = require(‘express’)() , server = require(‘http’).createServer(app) , io = require(‘socket.io’).listen(server);
app.post(’/open’,function(req, res){ console.log(req.body); });
4 回复
var app = require(‘express’)() , server = require(‘http’).createServer(app) , io = require(‘socket.io’).listen(server);
app.post(’/open’,function(req, res){ console.log(req.body); });