title: Unable to send object through XHTTP Request from Client Side JS to NodeJS
body: <p>I have a function sending an object to NodeJS.</p>
  
  <pre><code>function addRequest(request_item){
      var request = new XMLHttpRequest;
      request.open("GET", "http://localhost:3000/add_register_request"+"?request_item="+request_item)
      request.send(request_item);
      console.log("Sent");
      document.location.reload(true);
  };
  </code></pre>
  
  <p>request_item is the object.</p>
  
  <pre><code>app.get('/add_register_request', function(req,res){
      console.log("ADDDD")
      var request = req.query.request_item
      console.log(`SQL is ${request}`) //This gives {object Object}
  })
  </code></pre>
  
  <p>JSON.stringify(request) simply returns '{object Object}'. The only difference is it is now in quotes.</p>
  
  <p>How can I access the object in my NodeJS as well?
  Thanks in advance!</p>