OptionalbodyThe request body, which can be of any type.
OptionalheadersCustom headers to be included in the request.
OptionalqueryQuery parameters to include in the request.
OptionalvalidateA 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.