This is the url of api.
http://localhost:3000/verify?id=55
And this is the snipet for getting the query value.
server.get('/verify', async (req,res,next) => {
try { console.log(req.query.id); }
catch{err}
});
As the log prints out "undefined" , is there a problem on url expression?
server.use(restify.queryParser());?