rest_call
Call a REST endpoint through a configured service base URL, sending method, path, query, headers, and JSON or raw body. Use variables in requests and extract JSONPath values into session variables.
Instructions
Call a REST endpoint. path is relative to the service base_url (e.g. /hesaplar/123). body = JSON value, body_text = raw text (XML, form). path, query, headers and body may use {{variables}} (e.g. headers {"Authorization": "Bearer {{token}}"}). extract = {name: JSONPath} saves session variables. Returns status, body (parsed JSON or text), elapsed_ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| query | No | ||
| method | Yes | ||
| extract | No | ||
| headers | No | ||
| service | Yes | ||
| body_text | No | ||
| environment | No | ||
| include_headers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |