khttp alternatives and similar libraries
Based on the "Http Clients" category.
Alternatively, view khttp alternatives based on common mentions on social networks and blogs.
-
httpmocker
HttpMocker is a simple HTTP mocking library written in Kotlin to quickly and easily handle offline modes in your apps
CodeRabbit: AI Code Reviews for Developers

Do you think we are missing an alternative of khttp or a related project?
Popular Comparisons
README
khttp
khttp is a simple library for HTTP requests in Kotlin. It functions similarly to Python's requests
module.
import khttp.get
fun main(args: Array<out String>) {
// Get our IP
println(get("http://httpbin.org/ip").jsonObject.getString("origin"))
// Get our IP in a simpler way
println(get("http://icanhazip.com").text)
}
Dependency
Stable
Stable releases are hosted on JCenter.
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com/</url>
</repository>
<!-- ... -->
<dependency>
<groupId>khttp</groupId>
<artifactId>khttp</artifactId>
<version>1.0.0</version>
</dependency>
Development
Development builds are currently available through JitPack. Snapshot builds may eventually be hosted on OJO, but are not currently available there.
*Note that all licence references and agreements mentioned in the khttp README section above
are relevant to that project's source code only.