Tuesday, August 30, 2011

[android-developers] Re: HttpURLConnection with POST method

i figured it out.
http://digitallibraryworld.com/?p=189

On Aug 16, 3:21 pm, lbendlin <l...@bendlin.us> wrote:
> POST works very different from GET. You need to spend much more energy to
> format the request body. You're missing the whole Content-Disposition:
> form-data  and the delimiter definitions etc.
>
> your out.write should then use the prepared request body string (as you did,
> sort of).

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment