http://blog.mb.cloud.nifty.com/?p=7614
こちらのサイトで
module.exports = function(req, res) { res.status(200).json({ time: Date.now(), data: req.query, mgs: "Hello World" }) };
とゆうコードがありますが、ここでのstatus(200)とは何ですか?
Node.js 内のstatusとゆうメソッドなのか、ニフティの組み込みの何かなのか、またJavaScriptの何かなのか・・といった種類が解りません。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。