ExecuteHttpOptions
Options accepted by executeHttp.
Extends¶
Properties¶
| Property | Type | Description |
|---|---|---|
body? |
unknown |
Body to send to the vendor. A string is sent as is, a URLSearchParams as URL-encoded text, and any other value as JSON. For a body that is not JSON, pass a string and set the matching Content-Type header. Bytes, a Blob and a FormData are refused with a ValidationError. |
folderId? |
number |
Numeric folder ID. |
folderKey? |
string |
Folder key (GUID-formatted string). |
folderPath? |
string |
Slash-delimited folder path, e.g. 'Shared/Finance'. |
headers? |
Record<string, string> |
Headers to send to the vendor. The connection's authentication is added for you. |
queryParams? |
Record<string, string> |
Query string parameters. |
retry? |
RetryOptions |
Retry and backoff behavior for this call. Retrying is off unless maxRetries is set. retryMethods is matched against the method sent to the vendor, so by default a GET is retried and a POST is not. Only a failure of the Integration Service call itself is retried; a vendor error status is returned as the result. |
signal? |
AbortSignal |
Signal for cancelling the request, including any pending retry. |
timeoutMs? |
number |
Timeout for a single attempt, in milliseconds. Applies whether or not retrying is enabled; each retry starts a fresh timeout. Unbounded by default. |