OSDN Git Service
(root)
/
simple-tornado-bot
/
simple-tornado-bot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80e3d7d
)
get test
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 09:04:49 +0000
(18:04 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 09:04:49 +0000
(18:04 +0900)
bot.py
patch
|
blob
|
history
diff --git
a/bot.py
b/bot.py
index
52a1ce5
..
e5f3cea
100644
(file)
--- a/
bot.py
+++ b/
bot.py
@@
-14,6
+14,9
@@
from linebot.models import MessageEvent, TextMessage, TextSendMessage
class WebHookHandler(tornado.web.RequestHandler):
+ def get(self):
+ return 'OK'
+
def post(self):
signature = json.load(self.request.headers['X-Line-Signature'])
data = json.load(self.request.body)