은승우

Update app.js

Showing 1 changed file with 2 additions and 2 deletions
......@@ -105,8 +105,8 @@ async function handleEvent(event) {
};
request.post(options, function (error, response, body) {
console.log(mime.contentType(chunk));
var data= body.toString('utf-8');
let jsonRes = JSON.stringify(JSON.parse(body), null, ' ');
console.log(jsonRes);
var text='';
while(data.indexOf('text\\')!=-1)
{
......