9

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.

4

1 回答 1

8

试试这个命令:

adb shell setprop log.tag.RestTemplate VERBOSE

(您可以adb在 中找到...android-sdk/platform-tools/

于 2013-04-19T15:51:40.020 回答