I'm trying to redirect my login to a new site after the user validation function. After the redirection to the url in the browse is from the url where the login was: link " link , should be just that part: link
request('http://54.93.154.122:2801/'+doc.voxyid, function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body);
//console.log(error)
res.redirect(JSON.stringify(body))