https://kotlinlang.org logo
#kotlin-fuel
Title
# kotlin-fuel
l

LeoColman

10/27/2020, 7:34 PM
Hi! Is it possible to ignore the
request, response, result
stuff and go directly to the result part?
a

apanek

10/28/2020, 7:15 AM
You could do the following:
Copy code
val response = "x".httpGet().response().second.body.asString("text/plain")
But keep in mind that any error handling is completely off the table then 😉
5 Views