> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> HTTP Request Flow Actionsを設定して、外部APIやサービスにカスタムリクエストを送信する方法を説明します。

# HTTP Request

<div id="configure-your-http-vault-connection">
  ## HTTP Vault Connection を設定する
</div>

[HTTP Vault Connection](/docs/ja-jp/customize/forms/vaults/http) で、HTTP Request Flow Actions 用の Vault 接続の設定方法をご確認ください。

<div id="http-request">
  ## HTTP Request
</div>

HTTP Request Action を使用すると、外部の API やサービスを呼び出し、そのレスポンスを処理できます。

<Frame>
  <img src="https://mintcdn.com/translations/6GE5Z24GDCZehiJ9/docs/images/cdy7uua7fh8z/6eIOv07XenyaazzKixigei/2e9efd632137829a8ddb03aacd3197df/http-request-action.png?fit=max&auto=format&n=6GE5Z24GDCZehiJ9&q=85&s=da68d48eed091e1fc212bc2668f88fa8" alt="" width="812" height="511" data-path="docs/images/cdy7uua7fh8z/6eIOv07XenyaazzKixigei/2e9efd632137829a8ddb03aacd3197df/http-request-action.png" />
</Frame>

<div id="input-settings">
  ### 入力設定
</div>

| パラメータ             | 説明                                                                                                                                                   |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| メソッド              | 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> |
| ボディ               | リクエストの本文です。                                                                                                                                          |
| Headers           | リクエストのヘッダーです。                                                                                                                                        |
| URL params        | URLパラメーターです。これらのパラメーターは自動的にURLエンコードされます。                                                                                                             |
| Enable Basic Auth | ユーザー名とパスワードを使用した認証を有効にします。                                                                                                                           |

<div id="output-object">
  ### 出力オブジェクト
</div>

| プロパティ     | 型      | 説明                                       |
| --------- | ------ | ---------------------------------------- |
| `headers` | オブジェクト | レスポンスのヘッダーです。                            |
| `body`    | オブジェクト | レスポンスのボディです。                             |
| `status`  | 数値     | レスポンスのステータスコードです。                        |
| `success` | ブール値   | レスポンスの`status`に応じて`true`または`false`を返します。 |

<div id="output-object-example">
  ### 出力オブジェクトの例
</div>

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