Type of the path parameters.
Type of the query parameters.
Type of the request body.
Type of the response body.
Optional
headersOptional headers to include in the request.
Optional
loggerOptional logger function to log request details.
The HTTP method for the request (e.g., GET, POST, PUT).
Optional
pathOptional path parameters for the request.
Optional
queryOptional query parameters for the request.
Optional
requestOptional request body for the request.
Optional
responseOptional schema to validate the response body.
Optional
responseOptional response type for the request (e.g., json, blob).
Optional
retryOptional retry options for the request.
Optional
backoffThe multiplier to apply to the delay between subsequent retries. Optional and must be between 1 and 2.
Optional
initialThe initial delay before the first retry attempt in milliseconds. Optional and must be between 100 and 5000 ms.
Optional
retries?: numberThe number of retry attempts. Optional and must be between 0 and 5.
Optional
timeoutOptional timeout for the request in milliseconds.
The URL template for the request.
Interface representing the properties for making an HTTP request.