> ## 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.

# Hurl

> HurlでAPIリクエストをテスト

<img className="block h-32 dark:hidden center" src="https://mintcdn.com/ayrshare-docs/Nmrhj2Gh7WSf62Bh/images/apis/hurl-light.png?fit=max&auto=format&n=Nmrhj2Gh7WSf62Bh&q=85&s=7509b92538c3e95833c782e093cf29cd" alt="Hurl Light" width="441" height="114" data-path="images/apis/hurl-light.png" />

<img className="hidden h-32 dark:block" src="https://mintcdn.com/ayrshare-docs/Nmrhj2Gh7WSf62Bh/images/apis/hurl-dark.png?fit=max&auto=format&n=Nmrhj2Gh7WSf62Bh&q=85&s=7d7791d0cd4cc7613ae0f1dc2fa3594e" alt="Hurl Dark" width="704" height="183" data-path="images/apis/hurl-dark.png" />

[Hurl](https://hurl.dev/)は、シンプルなプレーンテキスト形式で定義されたHTTPリクエストを実行するコマンドラインツールです。API呼び出しを素早くテストするのに最適です。[Hurlの使い方](https://www.ayrshare.com/blog/hurl-run-and-test-http-api-requests/)については、当社のブログで詳しく学べます。

セットアップ後、以下の.hurlファイルを使用してテストを実行できます。

1. var.envをあなたのAPI Keyで更新します。
2. ユーザープロフィールをテストする場合は、リクエストに`profileKeys`を追加します。
3. すべてのソーシャルネットワークを連携していない場合は、hurlファイルを修正します。

<Card title="GitHub Hurl Scripts" icon="github" href="https://github.com/ayrshare/hurl-scripts" horizontal>
  HURLスクリプトを使用してAyrshareのソーシャルメディアAPIをテストします。画像や動画の投稿、分析の取得のテストなどが含まれます。
</Card>
