n
path
curl -L https://tcpdata.com/redirect/5
fetch('https://tcpdata.com/redirect/3', {
redirect: 'follow'
})
.then(res => res.json())
.then(data => console.log(data));
import requests
response = requests.get('https://tcpdata.com/redirect/4')
print(response.json())