curl --compressed https://tcpdata.com/gzip
fetch('https://tcpdata.com/gzip', {
headers: { 'Accept-Encoding': 'gzip' }
})
.then(res => res.json())
.then(data => console.log(data));
import requests
response = requests.get('https://tcpdata.com/gzip')
print(response.json())