title: HTTP client library in Groovy
body: <p>I am interested in querying a REST API using Groovy. I found HttpURLClient which seems like it should do what I want, but Groovy Console complains "unable to resolve class HttpURLClient"
  I found this link that has sample code for HttpURLClient: <a href="http://groovy.codehaus.org/modules/http-builder/doc/httpurlclient.html" rel="nofollow">http://groovy.codehaus.org/modules/http-builder/doc/httpurlclient.html</a></p>
  
  <p>But copy-pasting that code gives the same error.</p>
  
  <p>I also looked into using HTTPBuilder which also seems like it might work, but that gave similar errors as well.</p>
  
  <p>Any idea what I need to do to get these to work?</p>
  
  <p>Thanks</p>