title: Ajax GET requests: use parameters or put data in URL?
body: <p>What's the advantage of passing data as parameters vs part of the URL in an Ajax GET request?</p>
  
  <p>Using parameters:</p>
  
  <pre><code>var ajax = new Ajax.Request('server.php',{
      parameters: 'store=11200&amp;product=Meat',
      onSuccess: function(myData){whatever}
  });
  </code></pre>
  
  <p>Using URL:</p>
  
  <pre><code>var ajax = new Ajax.Request('server.php?store=11200&amp;product=Meat',{
      onSuccess: function(myData){whatever}
  });
  </code></pre>