Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Android 用のスプリング フレームワークを使用して、レスト サーバーを呼び出します。送信されたリクエストをデバッグする方法が見つかりません。フレームワークによって構築されたリクエストの生の本文を出力したいと思います。かなり基本的なようですが、フレームワークがオブジェクトを自動シリアル化するため、未加工の最終ボディを印刷する方法がわかりません。
誰にも解決策がありますか?
アドバイスありがとうございます。
このコマンドを試してください:
adb shell setprop log.tag.RestTemplate VERBOSE
(adbで見つけることができます...android-sdk/platform-tools/)
adb
...android-sdk/platform-tools/