Perform an HTTP GET request to the specified URL with the included options.
The URL to request.
Optionaloptions: Omit<TransportRequestOptions, "body">Additional options for the request (headers, responseType, signal).
The parsed response body from a successful request.
Perform an HTTP POST request to the specified URL with the included options.
The URL to request.
Optionaloptions: TransportRequestOptionsAdditional options for the request (body, headers, responseType, signal).
The parsed response body from a successful request.
An implementation providing HTTP request functionality for GET and POST requests.
Implementations are expected to handle authentication and authorisation internally. For example, automatically including
Authorizationheaders in the requests with a valid Bearer token.The
responseTypeparameter specifies the expected response type: