kenken999's picture
test
63f6011
raw
history blame
268 Bytes
function getImageData(imageUrl) {
var options = {
'method': 'GET',
'headers': {
'Authorization': 'Bearer YOUR_IMAGE_API_TOKEN'
}
};
var response = UrlFetchApp.fetch(imageUrl, options);
var imageData = response.getBlob();
return imageData;
}