You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fs.writeFile('thumbnail.png', buf, function (err) {
84
+
if (err) throw err;
85
+
});
86
+
87
+
console.log('Image saved')
84
88
});
85
89
```
86
90
87
91
## Examine the response
88
92
93
+
A popup of the thumbnail image will display.
89
94
A successful response is returned as binary data, which represents the image data for the thumbnail. If the request fails, the response is displayed in the console window. The response for the failed request contains an error code and a message to help determine what went wrong.
0 commit comments