title: How do I pass along variables with XMLHTTPRequest
body: <p>How do I send variables to the server with <code>XMLHTTPRequest</code>? Would I just add them to the end of the URL of the <code>GET</code> request, like <code>?variable1=?variable2=</code>, etc?</p>
  
  <p>So more or less:</p>
  
  <pre class="lang-js prettyprint-override"><code>XMLHttpRequest("GET", "blahblah.psp?variable1=?" + var1 + "?variable2=" + var2, true)
  </code></pre>