text: const http = require("https");
  
  const options = {
    "method": "GET",
    "hostname": "httpbin.org",
    "port": null,
    "path": "/anything?foo=bar&foo=baz&baz=abc&key=value",
    "headers": {}
  };
  
  const req = http.request(options, function (res) {
    const chunks = [];
  
    res.on("data", function (chunk) {
      chunks.push(chunk);
    });
  
    res.on("end", function () {
      const body = Buffer.concat(chunks);
      console.log(body.toString());
    });
  });
  
  req.end();
  