You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varqs=require('querystring');require('http').createServer(function(req,res){varbody='';req.on('data',function(data){body+=data;});req.on('end',function(){res.writeHead(200);res.end('done');console.log('\n got name \033[90m'+qs.parse(body).name+'\033[39m\n');});}).listen(3333);
connect
可交互的输入输出
基于 Telnet 的聊天室
客户端发送请求
客户端代码
服务端代码
读取文件并返回到页面
关于 request 的一些基础知识点
The text was updated successfully, but these errors were encountered: