title: what kind of parameters can I pass to XMLHttpRequest.send()?
body: <p>I have a request that looks like this</p>
  
  <pre><code>var xhr = new XMLHttpRequest();
  [...]
  xhr.send("param1=" + obj.param1 + "&amp;param2=" + val);
  </code></pre>
  
  <p>I'd really prefer to write something like</p>
  
  <pre><code>xhr.send( {"param1": obj.param1, "param2": val} );
  </code></pre>
  
  <p>(A) Is it possible to do that?</p>
  
  <p>(B) Where can I find a spec that would answer that question?</p>