We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I writing a app in Android Java, can someone give a example of how to post an array of objects, like:
[ { key: value, key: value }, { key: value, key: value }, { key: value, key: value } ]
The text was updated successfully, but these errors were encountered:
using a json lib that converts the array of objects to json?
Sorry, something went wrong.
But the post method just accept an ArryList of Pair<> as parameter
Sorry for late reply. Can you use .body() to help you achieve what you want?
.body()
val bodyStr = .... Fuel.post("<>").body(bodyStr).responseString()
https://github.com/kittinunf/Fuel/blob/676f84cf43b25a65c5577f63c4e7cbaff1473147/fuel/src/main/kotlin/com/github/kittinunf/fuel/core/Request.kt#L100
Thanks
No branches or pull requests
I writing a app in Android Java, can someone give a example of how to post an array of objects, like:
The text was updated successfully, but these errors were encountered: