은승우

Update app.js

Showing 1 changed file with 2 additions and 2 deletions
......@@ -102,9 +102,9 @@ async function handleEvent(event) {
},
body: fs.readFileSync('./photo/1.png')
};
console.log(options.body);
request.post(options, function (error, response, body) {
data=options.body;
data=JSON.stringify(JSON.parse(body), null, ' ');
console.log(data);
var text='';
while(data.indexOf('text\\')!=-1)
{
......