Mobile Proxies
Endpoints and Protocols
curl --proxytunnel --proxy "https://customer-USERNAME:[email protected]:1080" https://ip.goproxies.comnpm install axios https-proxy-agent// example.js
const axios = require('axios');
const { HttpsProxyAgent } = require('https-proxy-agent');
const proxyAuth = encodeURIComponent('customer-USERNAME') + ':' + encodeURIComponent('PASSWORD');
const proxyUrl = `http://${proxyAuth}@proxy.goproxies.com:1080`; // use http:// here for CONNECT proxy auth
const agent = new HttpsProxyAgent(proxyUrl);
(async () => {
try {
const res = await axios.get('https://ip.goproxies.com', { httpsAgent: agent, timeout: 10000 });
console.log('status:', res.status);
console.log('body:', res.data);
} catch (err) {
console.error('request error:', err.message);
}
})();import requests
username = "customer-USERNAME"
password = "PASSWORD"
proxy = f"https://{username}:{password}@proxy.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?

