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

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

# HTTP Request

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

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

<h2 id="http-request">
  HTTP Request
</h2>

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

<Frame>
  <img src="https://mintcdn.com/docs-dev-feat-sdk-reference-docs/0tYOZc0OW-lAvvrU/docs/images/cdy7uua7fh8z/6eIOv07XenyaazzKixigei/2e9efd632137829a8ddb03aacd3197df/http-request-action.png?fit=max&auto=format&n=0tYOZc0OW-lAvvrU&q=85&s=ff19e887af2b12762f1507cf20945f4a" alt="" width="812" height="511" data-path="docs/images/cdy7uua7fh8z/6eIOv07XenyaazzKixigei/2e9efd632137829a8ddb03aacd3197df/http-request-action.png" />
</Frame>

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

| パラメータ | 説明 |
| - | - |
| メソッド | 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 | ユーザー名とパスワードを使用した認証を有効にします。 |

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

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

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

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