curl https://tcpdata.com/ip
fetch('https://tcpdata.com/ip') .then(res => res.json()) .then(data => console.log('Your IP:', data.origin));
import requests response = requests.get('https://tcpdata.com/ip') print(response.json())