Client is responsible for making HTTP requests to a specified base URL.
Remarks
This class provides methods for performing GET and POST requests, handling request options, headers, and responses.
It abstracts the underlying HTTPS request handling and provides a simple interface for interacting with APIs.
Param: baseUrl
The base URL for all API requests.
Param: headers
Optional default headers to include in every request.
Client is responsible for making HTTP requests to a specified base URL.
Remarks
This class provides methods for performing GET and POST requests, handling request options, headers, and responses. It abstracts the underlying HTTPS request handling and provides a simple interface for interacting with APIs.
Param: baseUrl
The base URL for all API requests.
Param: headers
Optional default headers to include in every request.