Registry / http-client / unirest-java

unirest-java

JSON →
library1.4.9javamavenunverified

Simplified, lightweight HTTP client library for Java.

<dependency> <groupId>com.mashape.unirest</groupId> <artifactId>unirest-java</artifactId> <version>1.4.9</version> </dependency>
INSTALL
IMPORT
SIG · UNIREST-JAVA
U
unirest-java
http-clientjavav1.4.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Unirest
com.mashape.unirest.http.Unirest

Simple GET request with Unirest

import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.HttpResponse; public class UnirestExample { public static void main(String[] args) throws Exception { HttpResponse<String> response = Unirest.get("https://api.example.com") .asString(); System.out.println(response.getBody()); } }
Debug
Known issues
gotchaUnirest 1.x is outdated; consider migrating to Unirest 2.x or another HTTP client like OkHttp.
fix
Upgrade to com.konghq:unirest-java:2.x for active maintenance.
affects: <=1.4.9
Upgrade
Version history
1.4.9latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
1
Resources
unirest-java — mvn dependency:get unirest-java · libregistry