How to get a URL parameter in Express?
问题 I am facing an issue on getting the value of tagid from my URL: localhost:8888/p?tagid=1234 . Help me out to correct my controller code. I am not able to get the tagid value. My code is as follows: app.js : var express = require(\'express\'), http = require(\'http\'), path = require(\'path\'); var app = express(); var controller = require(\'./controller\')({ app: app }); // all environments app.configure(function() { app.set(\'port\', process.env.PORT || 8888); app.use(express.json()); app