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:
04dfb68
)
ok code
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 09:27:59 +0000
(18:27 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 09:27:59 +0000
(18:27 +0900)
bot.py
patch
|
blob
|
history
diff --git
a/bot.py
b/bot.py
index
57a85db
..
7dba31b
100644
(file)
--- a/
bot.py
+++ b/
bot.py
@@
-15,7
+15,7
@@
from linebot.models import MessageEvent, TextMessage, TextSendMessage
class WebHookHandler(tornado.web.RequestHandler):
def get(self):
- self.write('
hello
')
+ self.write('
OK
')
def post(self):
signature = json.load(self.request.headers['X-Line-Signature'])