OSDN Git Service

get test
authoryamat0jp <yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 09:04:49 +0000 (18:04 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Sat, 1 Sep 2018 09:04:49 +0000 (18:04 +0900)
bot.py

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)