I use the spring framework for Android to make calls to a rest server. I can't find a way for debugging the sent requests, I would like to print the raw body of the requests built by the framework. It seems pretty basic but as the framework auto serialize the objects, I can't figure out how to print the raw final body.
Is anybody have a solution?
Thanks for your advice.
Try this command:
adb shell setprop log.tag.RestTemplate VERBOSE
(You can find adb
in ...android-sdk/platform-tools/
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With