> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-chore-rate-limits-autoupdate.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# HTTP要求

> 外部のAPIまたはサービスにカスタム要求を送信するHTTP要求フローのアクションを構成する方法を説明します。

## Vault接続を構成する

HTTP要求アクションにVault接続を構成するには、 **［Bearer token（ベアラートークン）］** が必要です。

<Frame>
  <img src="https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/maLSaG79c-z4GVF0/docs/images/ja-jp/cdy7uua7fh8z/3X0Qbe9o1bx8q9ctxYZTO2/468b4d9b81bad93ab38b0b01dc773788/http-vault-connection.png?fit=max&auto=format&n=maLSaG79c-z4GVF0&q=85&s=e8d7b6896dec08708c1c03352359c840" alt="Dashboard > Actions > Forms > Flows > Actions > HTTP Request " data-og-width="1404" width="1404" data-og-height="551" height="551" data-path="docs/images/ja-jp/cdy7uua7fh8z/3X0Qbe9o1bx8q9ctxYZTO2/468b4d9b81bad93ab38b0b01dc773788/http-vault-connection.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/maLSaG79c-z4GVF0/docs/images/ja-jp/cdy7uua7fh8z/3X0Qbe9o1bx8q9ctxYZTO2/468b4d9b81bad93ab38b0b01dc773788/http-vault-connection.png?w=280&fit=max&auto=format&n=maLSaG79c-z4GVF0&q=85&s=329a77c278ab5bf47c62bb0167b78209 280w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/maLSaG79c-z4GVF0/docs/images/ja-jp/cdy7uua7fh8z/3X0Qbe9o1bx8q9ctxYZTO2/468b4d9b81bad93ab38b0b01dc773788/http-vault-connection.png?w=560&fit=max&auto=format&n=maLSaG79c-z4GVF0&q=85&s=b241d9721e1c645879cdf2e2021816f2 560w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/maLSaG79c-z4GVF0/docs/images/ja-jp/cdy7uua7fh8z/3X0Qbe9o1bx8q9ctxYZTO2/468b4d9b81bad93ab38b0b01dc773788/http-vault-connection.png?w=840&fit=max&auto=format&n=maLSaG79c-z4GVF0&q=85&s=35bef0587671ab3d1d5e2cecd18d5f7e 840w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/maLSaG79c-z4GVF0/docs/images/ja-jp/cdy7uua7fh8z/3X0Qbe9o1bx8q9ctxYZTO2/468b4d9b81bad93ab38b0b01dc773788/http-vault-connection.png?w=1100&fit=max&auto=format&n=maLSaG79c-z4GVF0&q=85&s=bdbc46067045a11d8bca417cca29a87f 1100w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/maLSaG79c-z4GVF0/docs/images/ja-jp/cdy7uua7fh8z/3X0Qbe9o1bx8q9ctxYZTO2/468b4d9b81bad93ab38b0b01dc773788/http-vault-connection.png?w=1650&fit=max&auto=format&n=maLSaG79c-z4GVF0&q=85&s=cf8cec7063a4fb34c27fbc6f618faa47 1650w, https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/maLSaG79c-z4GVF0/docs/images/ja-jp/cdy7uua7fh8z/3X0Qbe9o1bx8q9ctxYZTO2/468b4d9b81bad93ab38b0b01dc773788/http-vault-connection.png?w=2500&fit=max&auto=format&n=maLSaG79c-z4GVF0&q=85&s=722851472bb2655d01bf7d098a930181 2500w" />
</Frame>

## HTTP要求

HTTP要求アクションでは、外部のAPIまたはサービスを呼び出して、応答を処理することができます。

<Frame>
  <img src="https://mintcdn.com/docs-staging-chore-rate-limits-autoupdate/X5cP-LhsdBGVBh_u/docs/images/ja-jp/cdy7uua7fh8z/6eIOv07XenyaazzKixigei/2e9efd632137829a8ddb03aacd3197df/http-request-action.png?fit=max&auto=format&n=X5cP-LhsdBGVBh_u&q=85&s=f87433079d0e96598e915b237b6fa584" alt="" width="812" height="511" data-path="docs/images/ja-jp/cdy7uua7fh8z/6eIOv07XenyaazzKixigei/2e9efd632137829a8ddb03aacd3197df/http-request-action.png" />
</Frame>

### 入力設定

| パラメーター                           | 説明                                                                                                                                                |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Method（メソッド）                     | HTTPメソッドです。以下の値を使用できます。 <ul> <li>`GET`</li> <li>`POST`</li> <li>`PUT`</li> <li>`PATCH`</li> <li>`DELETE`</li> </ul>                               |
| Content type（コンテンツタイプ）           | `Content-Type`ヘッダーです。以下の値を使用できます。 <ul> <li>`application/json`</li> <li>`application/x-www-form-urlenconded`</li> <li>`application/xml`</li> </ul> |
| Body（ボディー）                       | 要求本文です。                                                                                                                                           |
| Headers（ヘッダー）                    | 要求のヘッダーです。                                                                                                                                        |
| URL params（URLパラメーター）            | URLパラメーターです。これらのパラメーターは自動的にURLエンコードされます。                                                                                                          |
| Enable Basic Auth（Basic認証を有効にする） | ユーザー名とパスワードでの認証を有効にします。                                                                                                                           |

### 出力オブジェクト

| プロパティ     | タイプ    | 説明                                     |
| --------- | ------ | -------------------------------------- |
| `headers` | オブジェクト | 応答のヘッダー。                               |
| `body`    | オブジェクト | 応答の本文。                                 |
| `status`  | 数値     | 応答のステータスコード。                           |
| `success` | ブール値   | 応答の`status`に応じて、`true`または`false`を返します。 |

### 出力オブジェクトの例

```json lines theme={null}
{
  "headers": {
    ...
  },
  "status": 200,
  "body": {
    ...
  },
  "success": true
}
```
