From c5c4fc4f85f6c97b6441aab7c1e55db81f8ea249 Mon Sep 17 00:00:00 2001 From: Christopher schmidt Date: Sat, 27 May 2017 20:57:54 -0400 Subject: [PATCH] Use localhost in local index example. --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 24539ee..786b944 100644 --- a/index.html +++ b/index.html @@ -68,13 +68,13 @@

The following table shows values by using WebSocket

REST API examples

  1. Set the "id 1" value to 100 -
    • curl "http://hiroakis.com:8888/api?id=1&value=100"
    +
    • curl "http://localhost:8888/api?id=1&value=100"
  2. Set the "id 1" value to 300 ( The row No 1 will change to yellow ) -
    • curl "http://hiroakis.com:8888/api?id=1&value=300"
    +
    • curl "http://localhost:8888/api?id=1&value=300"
  3. Set The "id 1" value to 600 ( The row No 1 will change to red ) -
    • curl "http://hiroakis.com:8888/api?id=1&value=600"
    +
    • curl "http://localhost:8888/api?id=1&value=600"