> ## Documentation Index
> Fetch the complete documentation index at: https://help.ip2up.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CURL请求

<Tip>平台的所有代理产品均需要在海外网络环境下使用，海外网络环境需要客户自行配置。</Tip>

本文展示如何使用 `curl` 通过Ip2up不限量住宅代理IP发起请求，适用于终端或脚本中直接调用代理连接。

<Note>不限量住宅IP的产品目前国家为平台随机分配，若需定制需求，可通过平台与我们商务取得联系</Note>

## 参数解释

|      名称     |   类型   |  必填 | 备注                                   |
| :---------: | :----: | :-: | :----------------------------------- |
|   account   | string |  是  | 账号：**后台的认证账号**                       |
|   session   | string |  是  | 会话标识：后台生成                            |
| sessionTime |   int  |  是  | 会话时长 （分钟） **0代表不固定会话**               |
|     flag    |   Int  |  是  | 会话期间自动补充节点（1-是 0-否）\| **会话时间不为0才生效** |

## 协议规范

```shell theme={null}

# 案例示范
规则：curl -x [protocol]://[ip]:[port] -U "[userName]:[password]" ipinfo.io
示例：curl -x http://192.168.46.222:12347 -U "op1233_rr123_1_1:hello123" ipinfo.io

# 案例示范

# 全球混播&不指定时长&不补充
curl -x [protocol]://[ip]:[port] -U "[account]_[session]_0_0:[password]" ipinfo.io

# 全球混播&指定时长&自动补充
curl -x [protocol]://[ip]:[port] -U "[account]_[session]_[sessionTime]_1:[password]" ipinfo.io

# 全球混播&指定时长&不自动补充
curl -x [protocol]://[ip]:[port] -U "[account]_[session]_[sessionTime]_0:[password]" ipinfo.io
```
