Session Stickiness
Establishing a session
Credentials list of examples for different sessions
Understanding sessionid header
Request example
curl --proxytunnel --proxy "https://customer-USERNAME-sessionid-128338:[email protected]:1080" https://ip.goproxies.comnpm install axios https-proxy-agent// sessionid-example.js
const axios = require('axios');
const { HttpsProxyAgent } = require('https-proxy-agent');
const username = 'customer-USERNAME-sessionid-3821319'; // unique session ID
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('status:', res.status);
console.log('body:', res.data);
} catch (err) {
console.error('request error:', err.message);
}
})();# sessionid_example.py
import requests
from urllib.parse import quote
username = "customer-USERNAME-sessionid-489582" # unique session ID
password = "PASSWORD"
proxy = f"http://{quote(username)}:{quote(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?

