Optional
bodyThe request body, which can be of any type.
Optional
headersCustom headers to be included in the request.
Optional
queryQuery parameters to include in the request.
Optional
validateA callback function to validate response headers.
The response headers to validate.
Represents the parameters for making an HTTP request.
This interface specifies options for configuring an HTTP request, including query parameters, request body, custom headers, and a function to validate response headers.