summaryrefslogtreecommitdiff
path: root/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'server.py')
-rwxr-xr-xserver.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/server.py b/server.py
new file mode 100755
index 0000000..369fa79
--- /dev/null
+++ b/server.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python3
+
+import bottle
+
+
+@bottle.post("/")
+def root():
+ bottle.response.content_type = "application/json"
+ return {"type": "done", "result": 0}
+
+
+bottle.run(host="localhost", port=5000)