은승우

Update app.js

Showing 1 changed file with 1 additions and 1 deletions
......@@ -100,7 +100,7 @@ function handleEvent(event) {
'Content-Type': 'application/octet-stream',
'Ocp-Apim-Subscription-Key': subscriptionKey
},
body: fs.readFileSync(event.message.image)
body: event.message.image
};
console.log("1");
request.post(options, function (error, response, body) {
......