blob: 369fa793073a4978404aad1633c73597e0ab8ac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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)
|