摘要:若url为: http://localhost:8888/select?name=a&id=5[javascript] view plaincopyprint?http.createServer(function(request,response){varpathname=url.parse(request.url).pathname;//pathname=>select vararg=url.parse(request.url).query;//arg=>name=a&id=5 console.log("Requestfor"+arg);var
阅读全文
posted @ 2013-01-31 09:06
浙公网安备 33010602011771号