HTTP Request
完全に設定可能な HTTP リクエストを送信:クエリ、ヘッダー、認証、型付きボディ、リトライ、型付きレスポンスまたはファイルへのダウンロード。
API・HTTPHTTPRequest
概要
完全に設定可能な HTTP リクエストを送信:クエリ、ヘッダー、認証、型付きボディ、リトライ、型付きレスポンスまたはファイルへのダウンロード。
Send a fully-configurable HTTP request: query, headers, auth, typed body, retries, typed response or download to file.
パラメータ
| パラメータ | 型 | 必須 | 既定値 | 説明 |
|---|---|---|---|---|
| URL | string | 必須 | 例: https://api.example.com/items 変数に対応 | |
| Method | dropdownGET · POST · PUT · PATCH · DELETE · HEAD · OPTIONS | 必須 | GET | |
| Query params (optional) | multiline | 任意 | JSON object or 'key=value' / 'key: value' lines. 変数に対応 | |
| Headers (optional) | multiline | 任意 | JSON object or 'Key: Value' lines. 変数に対応 | |
| Authentication | dropdownNone · Bearer · Basic · API Key (header) | 任意 | None | |
| Auth value (optional) | string | 任意 | Bearer token, 'user:password' for Basic, or the API key. 変数に対応 | |
| API key header name | string | 任意 | X-API-Key | Header name when Authentication = API Key. 変数に対応 |
| Body type | dropdownNone · JSON · Form (urlencoded) · Raw · File | 任意 | None | |
| Body (optional) | multiline | 任意 | JSON / raw text, or 'key=value' lines for a form body. 例: {"name": "Bob"} 変数に対応 | |
| Body from file (optional) | file | 任意 | When Body type = File, send this file's bytes. 変数に対応 | |
| Timeout (seconds) | number | 任意 | 60 | |
| Follow redirects | dropdownYes · No | 任意 | Yes | |
| Ignore TLS cert errors | dropdownNo · Yes | 任意 | No | |
| Retries on failure | number | 任意 | 0 | Retry network errors / 5xx this many times. |
| Response type | dropdownAuto · JSON · Text · Save to file | 任意 | Auto | Auto parses JSON when the server says so, else text. |
| Download to file (optional) | file | 任意 | Used when Response type = Save to file. 変数に対応 | |
| Fail on HTTP error (4xx/5xx) | dropdownNo · Yes | 任意 | No | |
| Store response in | variable | 必須 | 例: response | |
| Store status code in | variable | 任意 | 例: status | |
| Store response headers in | variable | 任意 | 例: respHeaders |