Skip to end of metadata
Go to start of metadata

HTTPBuilder provides a convenient builder API for complex HTTP requests. It is built on top of Apache HttpClient. The project home page includes full documentation and downloads.

Note that the example below works for HTTPBuilder version 0.5.0-RC2. In prior versions, the uri property was called url. Also note that @Grab dependency management requires Groovy 1.6 or later. More information may be found here.

Example: HTTP GET, automatically parsed as a JSON response.