Skip to content Skip to sidebar Skip to footer

Node: Load/read The Content Of A Page From External Website(domain)

I have my personal webpage hosted in a sever which does not have Node. I have my server-side script running on Node Server (Heroku). I am trying to read the content of my personal

Solution 1:

The fs module is for interacting with the file system, not for making HTTP requests.

You need to use a module designed for making HTTP requests such as axios or the built-in http and https modules.

Post a Comment for "Node: Load/read The Content Of A Page From External Website(domain)"