Sending Requests
Last updated
import requests
username = "Account-continent-Continent Parameter-country-Country/Region Parameter-state-State Parameter-city-City Parameter"
password = "Password"
proxy_server = "host:Port"
proxies = {"http": f"http://{username}:{password}@{proxy_server}"}
response = requests.get("http://ipinfo.thordata.com", proxies=proxies)
print(response.text)curl -x "host:Port" -U "td-customer-USERNAME-continent-Continent Parameter-country-Country/Region Parameter-state-State Parameter-city-City Parameter-asn-ISP Parameter-sessid-Sticky IP-sesstime-Session DurationPASSWORD" "https://ipinfo.thordata.com"