# 入门指南

向……发起请求 `https://ip.oxylabs.io/location` 通过我们的代理，从随机位置使用移动代理 [**回连入口**](/products/cn/dai-li/mobile-proxies/making-requests.md)。将 `USERNAME` 和 `PASSWORD` 替换为你的代理用户凭证。请记住，每个请求都会返回一个新的 IP 地址，因为 Oxylabs 移动代理会自动轮换。

{% hint style="info" %}
使用 [**ip.oxylabs.io/location**](https://ip.oxylabs.io/location) 来检查你的 IP 参数——该域名提供来自四个地理位置数据库的信息：MaxMind、IP2Location、DB-IP 和 IPinfo.io。这些参数包括 IP 地址、提供商、国家、城市、邮政编码、ASN、组织名称、时区以及元数据（当数据库披露时）。
{% endhint %}

```shell
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME:PASSWORD" https://ip.oxylabs.io/location
```

{% hint style="info" %}
我们的移动代理支持 `HTTP`, `HTTPS`，以及 `SOCKS5` 协议。你可以在了解更多关于如何使用它们的内容 [**这里**](/products/cn/dai-li/mobile-proxies/protocols.md).&#x20;
{% endhint %}

现在使用来自法国的代理发出请求。你只需添加 `cc-FR` 到你的用户名字符串中。下面是一个 cURL 示例， [**这里**](/products/cn/dai-li/mobile-proxies/location-settings/country.md) 你还可以在其他语言中找到代码示例。

```shell
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-cc-FR:PASSWORD" https://ip.oxylabs.io/location
```

如果你需要让同一个代理在多次请求中保持不变，请使用 [**会话控制**](/products/cn/dai-li/mobile-proxies/session-control.md)**.** 添加 `sessid-abc12345` 到你的用户名字符串中，其中 `abc12345` 可以是任意随机字符串，只要你持续使用这个字符串（会话 ID）发送请求，你就会获得相同的代理 IP。

```shell
curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-sessid-randomString123:PASSWORD" https://ip.oxylabs.io/location
```

你也可以使用 [**端点生成器**](/products/cn/dai-li/mobile-proxies/endpoint-generator.md).

设置移动代理。若你有任何其他问题，请联系你的客户经理或我们的支持团队，邮箱为 [**support@oxylabs.io**](mailto:support@oxylabs.io).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/products/cn/dai-li/mobile-proxies/getting-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
