NodeJs How to Get GET Query String in Express.js

Posted on September 13, 2019 at 9:17 am

With Express.js you can use req.query like this:

var express = require('express');
var app = express();
app.get('/', function(req, res){
  res.send('id: ' +;

It handles the $_GET[‘id’] GET query, i.e:

Receive updates via email

Other Posts

Updated Posts