> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/integrations/cn/web-scraper-api-integrations/postman.md).

# Postman

了解如何将 Postman 与 网页爬虫API 配合使用。导入集合、配置请求，并通过发送 API 请求开始抓取。

你可以使用 [**Postman**](https://www.postman.com/) 来与我们的 [**网页爬虫API**](/products/cn/web-scraper-api.md)。该工具允许你通过设置首选配置以及请求详情，向我们的 API 发起 HTTP 请求。按以下简单步骤使用它：

* [**下载 Postman**](https://www.postman.com/product/what-is-postman/) 并打开它；
* 点击“**导入**”下的“**集合**”选项卡；

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-c05f5a70dc816324c95a0f64fe6000b5779f9353%2FScreenshot%202024-06-13%20at%2007.50.58.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

* 选择“**文件**”选项，选择一个相关的 [**Postman 集合**](#postman-collections) 从你的计算机中，并点击“**继续**”（在下一个窗口中，你需要点击“**导入**").

![](https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-4778051e253a511c77b6bd6fdffca317539ece93%2FScreenshot%202022-04-26%20at%2014.16.50.png?alt=media)

* **就是这样**！你可以浏览集合文件夹，选择与你相关的数据源，并通过向我们的 API 发送请求开始抓取。

<figure><img src="https://1216392379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU4lV7kLC2Df45W0aLQlX%2Fuploads%2Fgit-blob-798599232a8d323173aef9dc0205f250e12f85b1%2FScreenshot%202024-09-24%20at%2022.10.22.png?alt=media" alt=""><figcaption></figcaption></figure>

### 集合 <a href="#postman-collections" id="postman-collections"></a>

下载并导入下面任一 Postman 集合，通过请求示例探索我们的网页爬虫API功能和数据交付方式。这些集合包含可立即使用的示例。

* [**网页爬虫API**](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FMeGA0TZQMcAFHoVhRSQi%2FWeb%20Scraper%20API.new_postman_collection.json?alt=media\&token=9f51d41b-6604-4eef-b6c1-5024cf52c5bf)
* [**网页爬虫**](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FQcl0hZj33Gdmm1l6A86m%2FScraper%20API%20-%20Web%20Crawler.postman_collection.json?alt=media\&token=fe006e16-06a5-4d67-8467-dad40d7abb79)
* [**任务管家**](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiwDdoZGfMbUe5cRL2417%2Fuploads%2FsipIxRVxZmZroadwSuqg%2FScheduler.postman_collection.json?alt=media\&token=dac92525-e5cc-43c2-a8eb-a32e8eba0483)

{% hint style="info" %}
在创建你的 API 凭据后， [**Oxylabs 控制面板**](https://dashboard.oxylabs.io/en/)，你可以在集合级别输入它们。集合中的每个请求都配置为继承这些集合级别凭据。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/integrations/cn/web-scraper-api-integrations/postman.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
