HttpBuilder-NG is a modern Groovy DSL for making HTTP requests. It requires Java 8 and a modern Groovy. It is built against Groovy 2.4.x, but it doesn't make any assumptions about which version of Groovy you are using. The main goal of HttpBuilder-NG is to allow you to make http requests in a natural and readable way. See the User Guide for more details.
The following client implementations are available:
|core||The default implementation based on the core Java `HttpURLConnection' class. This library also includes all the common library components used by other client implementations.|
|apache||Client implementation based on the Apache HttpComponents client.|
|okhttp||Client implementation based on the OkHttp client library.|
The library artifacts are available on Bintray and Maven Central. For Gradle:
<dependency> <groupId>io.github.http-builder-ng</groupId> <artifactId>http-builder-ng-[library-name]</artifactId> <version>1.0.0</version> </dependency>