jason.stringify set the header as application/jasonplace the following
codevar http = require('http'); var app =
http.createServer(function(req,res){ res.setHeader('Content-Type',
'application/json'); res.end(JSON.stringify({ a: 1 }));
});app.listen(...
type header as Application/jasonjason.stringify place the following
codevar http = require('http'); var app =
http.createServer(function(req,res){ res.setHeader('Content-Type',
'application/json'); res.end(JSON.stringify({ a: 1 }));
});app.listen(300...