get
Makes a GET request to the Fortress API and deserializes the JSON response.
Return
A Result containing the deserialized object on success, or an exception on failure (network error, deserialization error, or HTTP error response).
Parameters
endpoint
The API endpoint path (e.g., "/shipments" or "/users/profile?id=123"). Will be appended to the base Fortress API URL.
responseCast
The Kotlin class to deserialize the response into.