code: function request(urlstr, method, headers, response, post) {
      // extract url parts
      const { hostname, port, path } = url.parse(urlstr);
      // An object of options to indicate where to request to
      var reqOptions = { hostname, port, path, method, headers };
      // Set up the request
      var req = http.request(reqOptions, function (res) {
          // defining enconding
          res.setEncoding('utf8');
          // define header of response
          response.writeHead(200, { 'Content-Type': 'application/json' });
          // event on receiving data
          res.on('data', function (data) {
              response.write(data);
          });
          // event on receive finished
          res.on('end', () => {
              response.end();
          });
      });
      // Catch error
      req.on('error', (e) => {
          throwError(response, enums.ERROR_MODULE_UNREACHABLE);
      });
      // write data to request body
      if (post) {
          req.write(post);
      }
      ;
      // Finalizes the request
      req.end();
  }
docs: /*------------------------------------------------------------------------------------ /*------------------------------------------------------------------------------------