Registry / http-client / scalaj-http-2-11

scalaj-http-2-11

JSON →
library2.4.2javamavenunverified

Simple HTTP client library for Scala with a fluent API for making requests and handling responses.

<dependency> <groupId>org.scalaj</groupId> <artifactId>scalaj-http_2.11</artifactId> <version>2.4.2</version> </dependency>
INSTALL
IMPORT
SIG · SCALAJ-HTTP-2-11
S
scalaj-http-2-11
http-clientjavav2.4.2
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.

Http
scalaj.http.Http

Making a simple HTTP GET request

import scalaj.http.Http; public class Example { public static void main(String[] args) { String response = Http("https://api.example.com").asString().body(); System.out.println(response); } }
Debug
Known issues
breakingScala version suffix (_2.11) indicates compatibility with Scala 2.11 only; mixing with other Scala versions may cause runtime errors.
fix
Ensure your project uses Scala 2.11 or use a version without suffix for cross-compatibility.
affects: all versions with _2.11 suffix
Upgrade
Version history
2.4.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Resources
scalaj-http-2-11 — mvn dependency:get scalaj-http-2-11 · libregistry