HTTP Builder Add comment to Wiki View in Wiki Edit Wiki page Printable Version

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.

 

Search

Results of your search request can come from various sources: the Groovy website itself, the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.

  By  -  pages  -  views  - last modified