Intro
Documentation below describes how to use Goproxies.com service.
Code Examples
curl --proxytunnel --proxy "https://customer-USERNAME:[email protected]:1080" https://ip.goproxies.comnpm install axios https-proxy-agentconst axios = require('axios');
const { HttpsProxyAgent } = require('https-proxy-agent');
const username = 'customer-USERNAME';
const password = 'PASSWORD';
const proxyUrl = `http://${encodeURIComponent(username)}:${encodeURIComponent(password)}@hosting.goproxies.com:1080`;
const agent = new HttpsProxyAgent(proxyUrl);
(async () => {
try {
const res = await axios.get('https://ip.goproxies.com', { httpsAgent: agent, timeout: 10000 });
console.log(res.status, res.data);
} catch (err) {
console.error('request error:', err.message);
}
})();import requests
username = "customer-USERNAME"
password = "PASSWORD"
proxy = f"https://{username}:{password}@hosting.goproxies.com:1080"
proxies = {
"http": proxy,
"https": proxy,
}
resp = requests.get("https://ip.goproxies.com", proxies=proxies, timeout=10)
print(resp.status_code)
print(resp.text)Last updated
Was this helpful?

