은승우

Update app.js

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