> ## Documentation Index
> Fetch the complete documentation index at: https://ayrshare.mintlify.site/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/XRYzr5UdPjyr_kPK/images/apis/hurl-light.png?fit=max&auto=format&n=XRYzr5UdPjyr_kPK&q=85&s=5dad1a3072676375b02394d287005e86" 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/XRYzr5UdPjyr_kPK/images/apis/hurl-dark.png?fit=max&auto=format&n=XRYzr5UdPjyr_kPK&q=85&s=1c76eb7717b491ec54ccf44a9a011170" 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>
