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

# Postman

> Test your REST API calls with Postman

Postman is a great tool to test HTTP API endpoint calls. We recommend first using Postman to more easily diagnose issues.

Click the "Run in Postman" button to ***fork a version in Postman*** for the web:

[![Run in Postman](https://run.pstmn.io/button.svg)](https://god.gw.postman.com/run-collection/7602335-776bf0f9-c710-43cf-b3a2-7987801887f3?action=collection%2Ffork\&collection-url=entityId%3D7602335-776bf0f9-c710-43cf-b3a2-7987801887f3%26entityType%3Dcollection%26workspaceId%3Dcf2bf012-ff59-48a6-ba37-cf4864d2e43c)

After forking we recommend you [download Postman](https://www.postman.com/downloads/) for free and use locally.
The desktop version is more reliable and has more features.

<Info>
  Be sure to set your `Authorization: Bearer API_Key` value or Profile Key in the header.

  Also, set the environment variable of \{API\_Key} with your API\_KEY.
</Info>

<Tip>
  **Postman Tips**

  <ul class="custom-bullets">
    <li>  You can add a variable value, such as a global variable like API\_KEY to make
    it easier to make your API calls in Postman. [More details how to do
    this](https://learning.postman.com/docs/sending-requests/variables/variables/)
    on the Postman site.</li>
    <li>You can send an array as a variable in the Postman body set as x-www-form-urlencoded by setting the key with a \[0] value. For example, to send a post, you can set the key platforms\[0] to the first value and platforms\[1] for the second value. </li>
  </ul>
</Tip>

## Test with Random Text and Images

We also recommend you test with [random text and images](/quickstart#publish-test-posts) so your accounts are not locked by the social networks.

## Auto Generate API Code with Postman

You can even automatically generate code directly from Postman in most programming languages - Node.js, PHP, Python, C#, and more. See the video for details on how to use Postman and generate code.

<div class="video-container">
  <iframe width="560" height="330" src="https://www.youtube.com/embed/T-ui_z2oyAU" title="Postman Auto Generate API Code" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />
</div>
