Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post body doesn't print #838

Open
igloo12 opened this issue Aug 26, 2022 · 0 comments
Open

Post body doesn't print #838

igloo12 opened this issue Aug 26, 2022 · 0 comments

Comments

@igloo12
Copy link

igloo12 commented Aug 26, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant