I heard that Groovy has a built-in REST/HTTP client. The only library I can find is HttpBuilder, is this it?
Basically I\'m looking for a way to do
HTTPBuilder is it. Very easy to use.
import groovyx.net.http.HTTPBuilder
def http = new HTTPBuilder('https://google.com')
def html = http.get(path : '/search', query : [q:'waffles'])
It is especially useful if you need error handling and generally more functionality than just fetching content with GET.