loopj/android-async-http — Issue #38: Encode (or serialize) request body
Author: tunix
Created: 2012-02-20 11:06:26+00:00
State: open

I guess RequestParams is the best place to do this. To use with a JSON based REST API, I need to send JSON encoded request body with 'application/json' header. I can send the header with client.addHeader() but cannot encode request body. Will try to do it myself but just wanted to make sure if I'm on the right track.