# Run Requests in Postman

## Background Information

The Postman Template Debugging Tool is a third-party development debugging tool provided to facilitate developers in conducting Zenlayer Cloud API interface debugging. Currently, this tool supports authentication and interface debugging. The following sections will describe how to utilize the Postman tool for API debugging.

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

To run requests in Postman, you'll first need to have it installed and launched.

1. Click[![Run In Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/34395107-3e3793a7-4e2b-4a88-8473-f35c97c5b68a?action=collection%2Ffork\&source=rip_markdown\&collection-url=entityId%3D34395107-3e3793a7-4e2b-4a88-8473-f35c97c5b68a%26entityType%3Dcollection%26workspaceId%3D0fd85988-ddf1-44cf-982c-35a882520288#?env%5BProd%5D=W3sia2V5IjoiYWNjZXNzSWQiLCJ2YWx1ZSI6Ijx5b3VyIGFjY2VzcyBrZXkgaWQ+IiwiZW5hYmxlZCI6dHJ1ZSwidHlwZSI6ImRlZmF1bHQifSx7ImtleSI6ImFjY2Vzc0tleSIsInZhbHVlIjoiPHlvdXIgYWNjZXNzIGtleSBwYXNzd29yZD4iLCJlbmFibGVkIjp0cnVlLCJ0eXBlIjoiZGVmYXVsdCJ9XQ==).
2. Register a new account or log in to your existing account.
3. Click **Fork Collection**. In the left sidebar, click **Collections** to view your collections.

   <figure><img src="https://2332229683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFpljSy3Tbj4tcqXwT8g7%2Fuploads%2Fgit-blob-65d3035367a8c6112137354407bb0df9aebc1ca1%2Fimage%20(2).png?alt=media" alt=""><figcaption></figcaption></figure>
4. From the dropdown menu, select the **Prod** environment to switch to.

   <figure><img src="https://2332229683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFpljSy3Tbj4tcqXwT8g7%2Fuploads%2Fgit-blob-14158b137aa3b9ec93be209f4f1118b38c178577%2Fimage%20(3).png?alt=media" alt=""><figcaption></figcaption></figure>
5. You can manually **Pull changes** to ensure you have the latest updates.

   <figure><img src="https://2332229683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFpljSy3Tbj4tcqXwT8g7%2Fuploads%2Fgit-blob-263efd4a366fb47700b82f7f1e87b556dcc2dec9%2Fimage%20(10).png?alt=media" alt=""><figcaption></figcaption></figure>

## Procedures

Prepare the `access_key_id` and `access_key_password`, and get ready to test the interface.

Take `DescribeZones` as an example to illustrate the debugging process.

1. Environment Variables\
   Input the `access_key_id` and `access_key_password` obtained from the platform into the environment variables.

   <figure><img src="https://2332229683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFpljSy3Tbj4tcqXwT8g7%2Fuploads%2Fgit-blob-61ade432f0ebd3ae5143870c4ad2ba38f6e28b2e%2Fimage%20(5).png?alt=media" alt=""><figcaption></figcaption></figure>
2. Calling an API\
   Open the interface in **Collections**, and simply click **Send** to submit the request.

   <figure><img src="https://2332229683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFpljSy3Tbj4tcqXwT8g7%2Fuploads%2Fgit-blob-cfd39089aa75896839ada754a5afe96c387c758c%2Fimage%20(6).png?alt=media" alt=""><figcaption></figcaption></figure>
