Make a request to
https://ip.oxylabs.iousing a mobile proxy from a random location through our backconnect entry. Replace
PASSWORDwith your proxy user credentials. Keep in mind that each request returns a new IP address as Oxylabs Mobile Proxies rotate automatically.
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME:PASSWORD" https://ip.oxylabs.io
Our Mobile Proxies support both,
HTTPSprotocols. You can learn more about using them here.
Now make a request using a proxy from France. All you need to do is add
cc-FRto your username string. Below is an example in cURL, and here you can find code samples in other languages.
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-cc-FR:PASSWORD" https://ip.oxylabs.io
If you need to keep the same proxy for more than one request, use session control. Add
sessid-abc12345to your username string, where
abc12345can be any random string, and as long as you keep sending requests with this string (session ID), you will get the same proxy IP. Learn more here.
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-sessid-randomString123:PASSWORD" https://ip.oxylabs.io
If you have any additional questions, please contact your account manager or our support team at [email protected].