Closed
Description
Hi...
I need to read external http url which has data (can be of any extension xml,txt,ics). for eg: I downloaded the basic.xml to local . instead i need to read the file directly from url (https). can someone tel me how to read the content from external url?
fs.readFile('./public/basic.xml', 'utf8', function(err, data) {
if (err) {
console.log(err);
} else {
console.log(data);
}
Metadata
Metadata
Assignees
Labels
No labels