mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-06-26 22:33:12 +00:00
1.2.6
This commit is contained in:
@ -3,13 +3,14 @@ import 'package:esiur/esiur.dart';
|
||||
import 'dart:io';
|
||||
|
||||
main() async {
|
||||
test("Connect to server", () async {
|
||||
// // // connect to the server
|
||||
var x = await Warehouse.get("iip://localhost:5000/sys/su",
|
||||
try {
|
||||
var x = await Warehouse.get("iip://localhost:5070/sys/cp",
|
||||
{"username": "admin", "password": "1234", "domain": "example.com"});
|
||||
|
||||
print(x);
|
||||
});
|
||||
} catch (ex) {
|
||||
print("Error occured");
|
||||
print(ex);
|
||||
}
|
||||
}
|
||||
|
||||
// describe object
|
||||
|
Reference in New Issue
Block a user