2012-06-06から1日間の記事一覧

node.jsでhttp GET/POSTデータの受け渡しを学ぶ

node.jsでhttp GET/POSTデータの受け渡しを学ぶGET/POSTの受け渡しは まずは前回のhelloworldスクリプトを少し修正して、HTTPサーバが受け取ったパラメータを見てみる。 var ht = require('http'); ht.createServer(function (req, response){ response.writ…