Issues an HTTP request. The simplified form takes the URL as a single string and issues a GET. Store the response withDocumentation Index
Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
saveAs.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Request URL. |
method | string | No | HTTP method. Defaults to GET. |
headers | Record<string, string> | No | Request headers. |
params | Record<string, string> | No | Query parameters. |
body | string | No | Request body. |
bodyType | string | No | Body encoding (e.g. JSON, form). |
timeout | number | No | Request timeout in milliseconds. |
saveAs | string | No | Variable to store this step’s return value on env.<name>. |
retries | number | No | Times to retry the step on failure before failing the test. |
skipped | boolean | No | Skip this step at execution time. |
comment | string | No | Free-form annotation kept with the step. |