From 334ed34f0d58234aef816cf99757b0356b0ab8ab Mon Sep 17 00:00:00 2001 From: Cracker Date: Fri, 9 Feb 2018 00:16:52 +0100 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 947e9a0..8429503 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,15 @@ You can run this app with and without docker 1. `docker run -d -p 8080:8080 rofl256/whiteboard` 2. Surf to http://YOURIP:8080 +## API +Call your site with GET parameters to change the WhiteboardID or the Username + +`http://YOURIP:8080?whiteboardid=MYID&username=MYNAME` + +* whiteboardid => All people with the same ID are drawing on the same board +* username => The name witch is showing to others while drawing + + ## Things you may want to know * Whiteboards are gone if you restart the Server, so keep that in mind (or save your whiteboard) * This is just a sample layout to show the functions available