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?
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?