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

# 高级参数

> 免费代理高级参数规范，控制您的连接

控制连接最简单的方式是通过**端口**：您的10个IP每个都有专属端口，介于`dc.decodo.com:10001`到`10010`之间。连接到某个端口即可使用对应IP。

对于请求级别的控制，Decodo还提供一个回连端点，可在用户名字段中传入参数。

要在请求中指定代理参数，请使用**用户名和密码**认证方法。

***

## 可用参数

| 参数        | 示例值  | 描述                                                |
| --------- | ---- | ------------------------------------------------- |
| `ip`      | -    | IP地址。您可以从您的免费代理IP列表中指定一个IP地址。                     |
| `country` | `us` | 国家代码。请使用两位 ISO 格式提交。免费代理IP位于**美国**，因此`us`是唯一可用的值。 |

***

## 应用支持

### 用户名:密码方法

回连入口节点还可用于各种应用。在这种情况下，您需要将本次会话的所有参数跟用户名一并传入**用户名**字段，如下所示：

`user-username-country-country_code`

在上面的示例中，`username`代表您的代理用户名，您需从认证字段中获取。在`password`字段中，您只需输入代理用户的密码。

***

## cURL 示例

要使用这些命令，只需将`username`和`password`替换为您的代理用户凭据，并在您的终端或命令提示符中运行它们。

##### 以轮换会话请求获取随机位置的IP（对于免费代理，**唯一**可用的位置是**美国**）

```shellscript cURL theme={null}
curl -U "username:password" -x "dc.decodo.com:10000" "https://ip.decodo.com/json?provider=IPinfo"
```

##### 以静态会话获取指定位置的IP（本例中为美国）

```shellscript cURL theme={null}
curl -U "user-username-country-us:password" -x "dc.decodo.com:10001" "https://ip.decodo.com/json?provider=IPinfo"
```

##### 以静态会话获取指定的IP（本例中未指定具体IP）

```shellscript cURL theme={null}
curl -U "user-username-ip-x.x.x.x:password" -x "dc.decodo.com:10001" "https://ip.decodo.com/json?provider=IPinfo"
```

<Note>
  使用任何回连参数时，您的用户名也被视为其中一个参数，因此您需要在用户名前面添加`user-`前缀，与其他参数的指定方式一致。
</Note>

***

<Columns cols={2}>
  <Card title="Support" href="https://direct.lc.chat/12092754" cta="Let's chat!">
    Need help or just want to say hello? Our support is available 24/7. \
    You can also reach us anytime via email at [support@decodo.com](mailto:support@decodo.com).
  </Card>

  <Card title="Feedback" href="mailto:feedback@decodo.com" cta="Share feedback">
    Can't find what you're looking for? Request an article! \
    Have feedback? Share your thoughts on how we can improve.
  </Card>
</Columns>
