은승우

Update app.js

Showing 1 changed file with 1 additions and 1 deletions
...@@ -98,8 +98,8 @@ function handleEvent(event) { ...@@ -98,8 +98,8 @@ function handleEvent(event) {
98 'Ocp-Apim-Subscription-Key': subscriptionKey 98 'Ocp-Apim-Subscription-Key': subscriptionKey
99 }, 99 },
100 body: fs.readFileSync(event.message.image) 100 body: fs.readFileSync(event.message.image)
101 - console.log(body);
102 }; 101 };
102 + console.log(body);
103 request.post(options, function (error, response, body) { 103 request.post(options, function (error, response, body) {
104 var data=JSON.stringify(body); 104 var data=JSON.stringify(body);
105 var text=''; 105 var text='';
......