1

with the code below I can start downloading file:

var stream = fs.createWriteStream('file.zip');

request.get('http://example.com/file.zip').pipe(stream);

how can I check that file exist with superagent without downloading it?

kharandziuk
  • 12,020
  • 17
  • 63
  • 121

0 Answers0