은승우

Update app.js

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