NodeJS——建立最簡單的HTTP服務器

☆ 引子 var http = require('http'); http.createServer(function(request, response){ response.writeHead(200, { 'Content-Type': 'text-plain' }); response.end('Hello World\n'); }).listen(8124); 對這個h
相關文章
相關標籤/搜索