String or .toSTRING

why is it not allowing request.body.string but instead request.body.tostring() works but NULL value is the result…

fun fetchJson() {
val url = “
val request = Request.Builder().url(url).build()
val client = OkHttpClient()

    client.newCall(request).enqueue(object: Callback {

        override fun onResponse(call: Call, response: Response) {

            val body = request.body.toString()



        override fun onFailure(call: Call, e: IOException) {
            println("Failed to excute request")


this value but NULL is the result… :frowning: please help me

Don’t worry about it… i got it… its response. not request.