mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-02-04 09:14:30 +00:00
Split up some code for sanity #3
This commit is contained in:
7
server/handlers/api/addspot.py
Normal file
7
server/handlers/api/addspot.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import tornado
|
||||
|
||||
# API request handler for /api/v1/spot (POST)
|
||||
class APISpotHandler(tornado.web.RequestHandler):
|
||||
def post(self):
|
||||
# todo
|
||||
self.write("Hello, world")
|
||||
Reference in New Issue
Block a user