fuel icon indicating copy to clipboard operation
fuel copied to clipboard

Post body doesn't print

Open igloo12 opened this issue 2 years ago • 0 comments

The post body doesn't print using the example in the README

        Fuel.post("https://httpbin.org/post", listOf("foo" to "foo", "bar" to "bar"))
            .also { println(it.url) }
            .also { println(String(it.body.toByteArray())) }

The url prints but the body doesn't expecting to see foo=foo&bar=bar Screen Shot 2022-08-26 at 10 51 09 AM

using spring boot + kotlin

igloo12 avatar Aug 26 '22 17:08 igloo12