title: Groovy: Send a request to a URL, ignoring the result
body: <p>In groovy, is there a way to send a request to a URL, ignoring the response? The main aim is to send more requests to the server, in a shorter period of time.</p>
  
  <p>As the result is unimportant to me, once the request is sent, I don't want the script to wait for a response before continuing.</p>
  
  <p>Here's my current script:</p>
  
  <pre><code>(1..50).each { element-&gt;
    def url = "http://someUrl"
    url.toURL().text 
  } 
  </code></pre>
  
  <p>In this code, the <code>text</code> method has to load the entire response, which I don't really care about.  The important part is that the request is sent, and waiting for a response is unimportant.</p>
  
  <p>Is there a similar <code>send</code> method? (along the lines of..</p>
  
  <pre><code>url.toURL().send
  </code></pre>
  
  <p>Alternatively, is there a "groovy" way I can speed this up using GPARS to run the loop in parallel?</p>