How to send a JSON object over Request with Android?

Posted by user365019 on Stack Overflow See other posts from Stack Overflow or by user365019
Published on 2010-06-12T00:57:39Z Indexed on 2010/06/12 1:02 UTC
Read the original article Hit count: 305

Filed under:
|
|
|

Hi,

I want to send the following JSON text {"Email":"[email protected]","Password":"123456"} to a web service and read the response. I know to how to read JSON. The problem is that the above jason object must be sent in a variable name jason. How can i do this from android? Like creating a request object setting content headers etc.

© Stack Overflow or respective owner

Related posts about android

Related posts about JSON