Showing
1 changed file
with
2 additions
and
3 deletions
... | @@ -105,9 +105,8 @@ async function handleEvent(event) { | ... | @@ -105,9 +105,8 @@ async function handleEvent(event) { |
105 | }; | 105 | }; |
106 | 106 | ||
107 | request.post(options, function (error, response, body) { | 107 | request.post(options, function (error, response, body) { |
108 | - var data= body.toString('utf-8'); | 108 | + console.log(body.type); |
109 | - | 109 | + var data= body.toString('utf-8'); |
110 | - console.log(data); | ||
111 | var text=''; | 110 | var text=''; |
112 | while(data.indexOf('text\\')!=-1) | 111 | while(data.indexOf('text\\')!=-1) |
113 | { | 112 | { | ... | ... |
-
Please register or login to post a comment