I want to use UrlFetchApp to request and hope to get response.
var url = "https://i.imgur.com/dCv0PzY.gif";
var res = UrlFetchApp.fetch(url,{
'headers': {'Content-Type': 'image/png'}});
Logger.log(res);
But response is too much data.
Like the picture below.
There is a method getBlob(),but I only get the string "Blob" after use it.
It uses content attribute,but I get syntax error,too.(the method not exist).
.
.
Is this a Base64 data or other type data?
And how can I get the image information(width,height,etc)
on the recommanded way?
Thank you.