박찬수

reply.js modified.

Showing 1 changed file with 6 additions and 3 deletions
......@@ -76,6 +76,9 @@ try {
}
function Reply(eventObj,replyMsg){
replyMsg = JSON.parse(replyMsg);
request.post(
{
url: TARGET_URL,
......@@ -86,11 +89,11 @@ function Reply(eventObj,replyMsg){
"replyToken":eventObj.replyToken, // reply token : 누구한테 보낼 것인지?를 판별하기 위해!
"messages":[
{
"type":"text",
"text":"Hello, user"
"type":"Name",
"text":replyMsg.name
},
{
"type":"text",
"type":"JSON",
"text":replyMsg
}
]
......