은승우

Update app.js

Showing 1 changed file with 1 additions and 2 deletions
......@@ -90,7 +90,7 @@ async function handleEvent(event) {
});
});
console.log(file);
var cheerio = require('cheerio');
var uriBase = 'https://koreacentral.api.cognitive.microsoft.com/vision/v2.1/ocr';
var options = {
......@@ -108,7 +108,6 @@ async function handleEvent(event) {
console.log(body);
request.post(options, function (error, response, body) {
data=body;
console.log(data);
var text='';
while(data.indexOf('text\\')!=-1)
{
......