I need to save the full path as a string for further processing, i.e.
localhost:3000/abc/xyz/etc
would give me:
"/abc/xyz/etc"
I tried
app.get('/.+:path', function(req, res) {
console.log('path:'+req.params[0]);
});
But it does not work. Any ideas?