diff --git a/src/message_browser.html b/src/message_browser.html new file mode 100755 index 0000000..b977924 --- /dev/null +++ b/src/message_browser.html @@ -0,0 +1,237 @@ + + +
+ + + ++var xhr = new XMLHttpRequest(); +var url = "https://codelab-adapter.codelab.club:12358/api/message" +xhr.open("POST", url, true); +var sendData = {"topic":"from_scratch/extensions","payload":{"content": "REST API", "extension_id": "eim"}}; +xhr.setRequestHeader('content-type', 'application/json'); +xhr.send(JSON.stringify(sendData)); ++
grep:
+ + + + diff --git a/src/webui.html b/src/webui.html new file mode 100755 index 0000000..ab36f1e --- /dev/null +++ b/src/webui.html @@ -0,0 +1,249 @@ + + + + + + + + + + + + + +status: {{ status }}
+version: {{ version }}
+