title: Batch AJAX requests to REST endpoint
body: <p>I want to send many GET requests to a REST endpoint (implemented with ArcGIS), with a change in the parameters, e.g.:</p>
  
  <pre><code>http://&lt;root-url&gt;/query?where=param=foo    
  http://&lt;root-url&gt;/query?where=param=bar    
  http://&lt;root-url&gt;/query?where=param=baz    
  ...
  </code></pre>
  
  <p>Instead of iterating through a for loop and sending that many AJAX requests, is it possible to send a batch request to the API or do some pipeling?</p>