kenken999's picture
test
1f074d8
raw
history blame contribute delete
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;
}