-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
NOTE: not really an issue
i want to preform the following using httpie
const file = fs.createWriteStream("file.jpg");
const request = http.get("https://somedomain.com/sampleimage.jpg", function(response) {
response.pipe(file);
});
whats the best way of doing so?
double note: im asking here as it might be a good example to have for other users