http-options
Send HTTP OPTIONS request.
http-options [profile=PROFILE] [url=URL] [path=PATH] [timeout=NUM] [encoding=CHARSET] [resp-header-field=FIELD]
- profile=PROFILE
- Optional. Connect profile name
- url=URL
- Optional. Full request URL
- path=PATH
- Optional. Relative path from endpoint
- timeout=NUM
- Optional. HTTP timeout in seconds (default: 30)
- encoding=CHARSET
- Optional. Character encoding (default: utf-8)
- resp-header-field=FIELD
- Optional. Output field name for response headers (omitted by default)
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| line | String | Line | Response body |
| _http_code | Integer | HTTP Code | HTTP status code |
| _http_error | String | HTTP Error | Error message (on failure) |