Is there any HTTP request kotlin standard library ...
# announcements
a
Is there any HTTP request kotlin standard library which is wrapped with kotlin.jvm why I am asking this is most of online compilers like repl, sololearn, play kotlin have no gradle support which wont let me use libs like okhtpp..
z
Nothing in the standard library. The closest thing to a standard library would be ktor, but that’s still a separate dependency so won’t be usable from something like play.kotlinlang.org
a
So it sounds like there is no way to call api from none gradle compiler, 🤔 even with java standard lib from kotlin.jvm
p
You can use Java HttpURLConnection API (play.kotlinlang.org disallows Socket permission)
a
@pavi2410 thanks 😃