은승우

Update app.js

Showing 1 changed file with 1 additions and 1 deletions
......@@ -106,7 +106,7 @@ async function handleEvent(event) {
'Content-Type': 'application/json',
'Ocp-Apim-Subscription-Key': '979dc5d63344438fa4701c62feebb7dc'
},
body: fs.readFileSync('./photo/1.png')
body: fs.readFile('./photo/1.png')
};
console.log(body);
request.post(options, function (error, response, body) {
......