get method
Implementation
Future<Map<String, dynamic>> get(String path) async {
final response = await client.get(
Uri.parse("https://$host:$port/$identity/api$path"),
headers: _headers,
);
if (response.statusCode >= 400) throw Exception(response.body);
return jsonDecode(response.body);
}