Integrations / Language
Use Proxys with cURL
Test Proxys from the command line.
Steps
- Use -x for HTTP proxies or --socks5-hostname for SOCKS5.
curl -x http://USERNAME-country-us:PASSWORD@gw.proxys.co:8000 https://ipinfo.io/json curl --socks5-hostname USERNAME-country-us:PASSWORD@gw.proxys.co:1080 https://ipinfo.io/json
Before you start
Replace USERNAME and PASSWORD with a sub-user's credentials from the dashboard. Change -country-us to the country you need, or remove it for a random location. See targeting options for city, ASN and sticky sessions.