From bee9a1e22ae015e3381a5b76b9ac870aa553f32b Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Mon, 14 Mar 2022 02:26:05 +0100 Subject: [PATCH] docs: update example in README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index d6915e7e..a7c64f91 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ To do so, a Thing Description JSON string is first parsed and turned into a ```dart import 'dart:async'; -import 'dart:io'; import 'package:dart_wot/dart_wot.dart'; @@ -60,7 +59,7 @@ FutureOr main(List args) async { "status": { "forms": [ { - "href": "/.well-known/core" + "href": "/hello" } ] } @@ -73,7 +72,6 @@ FutureOr main(List args) async { final status = await consumedThing.readProperty("status", null); final value = await status.value(); print(value); - exit(0); } ```