已采纳回答 / weibo_哆啦A梦有大口袋_0
你写的http.creatServer(function (req, res) {正确的http.createServer(function(req,res){方法名写错了,解决问题记得采纳
2016-07-04
已采纳回答 / 隆昶
var http = require("http");var querystring = require("querystring");var postData = querystring.stringify({ content:"hello node.js", mid:8837})var options = { hostname:"www.imooc.com", port:80, path:"/course/docomment", method:"POST", headers:{ 'Accept':'...
2016-06-12