Showing
1 changed file
with
1 additions
and
2 deletions
1 | - | ||
2 | var express = require("express"); | 1 | var express = require("express"); |
3 | var app = express(); | 2 | var app = express(); |
4 | const line = require('@line/bot-sdk'); | 3 | const line = require('@line/bot-sdk'); |
... | @@ -100,7 +99,7 @@ function handleEvent(event) { | ... | @@ -100,7 +99,7 @@ function handleEvent(event) { |
100 | form: {'source':source, 'target':target, 'text':event.message.text}, | 99 | form: {'source':source, 'target':target, 'text':event.message.text}, |
101 | headers: {'X-Naver-Client-Id': client_id, 'X-Naver-Client-Secret': client_secret,"Content-Type": "application/x-www-form-urlencoded"} | 100 | headers: {'X-Naver-Client-Id': client_id, 'X-Naver-Client-Secret': client_secret,"Content-Type": "application/x-www-form-urlencoded"} |
102 | }; | 101 | }; |
103 | - | 102 | + console.log("?!"); |
104 | // Naver Post API | 103 | // Naver Post API |
105 | request.post(options, function(error, response, body){ | 104 | request.post(options, function(error, response, body){ |
106 | // Translate API Sucess | 105 | // Translate API Sucess | ... | ... |
-
Please register or login to post a comment