receiving big response node js code example
Example: receiving big response node js
const https = require("https");const url = "https://my-json-server.typicode.com/edurekaDemo/noderequest/db";https.get(url, res => {res.setEncoding("utf8");let body = "";res.on("data", data => {body += data;});res.on("end", () => {body = JSON.parse(body);console.log(body);});});