2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2025-06-26 22:33:12 +00:00
This commit is contained in:
2021-02-20 00:10:06 +03:00
parent 4c36f591da
commit cb8e6d5430
9 changed files with 637 additions and 681 deletions

View File

@ -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