技術情報 / JavaScript / Node.js / モジュール / express

express

クエリーパラメータ・フォームデータの参照

(req.params) Checks route params, ex: /user/:id 

(req.query) Checks query string params, ex: ?id=12 Checks urlencoded body params  

(req.body) ex: id=12 To utilize urlencoded request bodies, req.body should be an object. 
           This can be done by using the _express.bodyParser middleware.

参考