Create a new ApiRequest instance
Complete request configuration
ReadonlyheadersHTTP headers for the request
ReadonlyparamsURL query parameters
ReadonlydataRequest body data
ReadonlymethodHTTP method for the request
Optional ReadonlyretryRetry configuration for failed requests
ReadonlyurlRequest URL path
Optional ReadonlytimeoutRequest timeout in milliseconds
ReadonlyconfigComplete request configuration
Execute the request with retry logic and error handling
Promise resolving to the HTTP Response
HTTP Request with advanced retry logic and exponential backoff
Description
Handles HTTP request execution with sophisticated retry mechanisms, automatic body serialization, URL building, and timeout management. Implements exponential backoff with jitter to prevent thundering herd problems.
Example