fix deleting items
This commit is contained in:
parent
5bbf612a38
commit
0a95189a52
2 changed files with 5 additions and 0 deletions
|
|
@ -100,6 +100,10 @@ class ApiHandler(tornado.web.RequestHandler):
|
|||
def initialize(self, app):
|
||||
self._app = app
|
||||
|
||||
def get(self):
|
||||
self.write('use POST')
|
||||
self.finish()
|
||||
|
||||
@tornado.web.asynchronous
|
||||
@tornado.gen.coroutine
|
||||
def post(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue