提出请求
基本查询只需要传递 username
和 password
。不需要其他任何参数。此类查询中,将请求设为从随机 IP (代理)地址发出。每个新请求都使用不同的代理。
查询参数
参数
描述
customer
用户名
sessid
会话 ID 在接下来的查询中保留相同的 IP。会话不会过期 - 您可以无限期地保留它。随机字符串;支持 0-9、A-z 字符。
password
密码
- 必须提供的参数
代码示例
在该示例中,从随机 IP 执行对 ipinfo.io/location
的查询:
curl -x dc.pr.oxylabs.io:10000 -U "customer-USERNAME:PASSWORD" https://ip.oxylabs.io/location
Last updated
Was this helpful?