Nodejs入門編寫hello world

一、安裝nodejs 下載:https://nodejs.org/en/download/ 二、編寫 helloworld.js //創建web服務器 var http=require('http'); http.createServer(function(request,response){ const body = 'hello world'; response.writeHead(200
相關文章
相關標籤/搜索