Fork Copy const request = require('request') request({ url: 'http://short.dangdung.xyz/bcc71ae', followRedirect: (res) => {console.log(res.headers.location);return true} }, (err, response, body) => { console.log('---------------------'); console.log(response.request.uri.href); })