I'm sure I'm doing something wrong but I'm not sure what it is. I'm expecting the req.query to be the same as it was set at the start but when I log them to the console at the end data and req.query only contain rnd.
var req = {};
req.query = {
url: 'https://google.com/',
width: '500',
height: '190',
ref: 'http://domain.tld',
rnd: '9314871930982'
};
var data = req.query;
delete data.width;
delete data.height;
delete data.url;
delete data.ref;
console.log(req.query);
console.log(data);