How to execute RESTful POST requests from Android
<p>I'm trying to execute a REST Post for the first time and I don't quite know where to begin. </p>

<p>I'm interacting with the <a href="http://developer.wordpress.com/docs/api/" rel="nofollow">WordPress REST API</a>, and am trying to utilize <a href="http://developer.wordpress.com/docs/api/1/post/sites/%24site/posts/%24post_ID/replies/new/" rel="nofollow">this</a> endpoint: <code>/sites/$site/posts/$post_ID/replies/new</code>, which is used to submit a new comment to a certain post. </p>

<p>I think I have a good grasp on working with GET requests, as I've successfully handled several of them. With those, I could say everything I needed to say to the server vis a vis the URL, but it seems there must be another step with POST requests. And my question is: What is that step(s)? </p>

<p>Do I wrap the content I want to submit into a JSONObject and post that? If so, how do I post it? Do I need to construct a statement somehow, similar to how I would construct a statement to execute on a database? Or is it indeed possible to pass my content along via the URL, as request parameters? </p>

<p>I'm aware that this question is a little on the open-ended side for SO, but I've been unable to find a good tutorial that answers these questions. If you know of one, please suggest it. </p>

<p>(I'm doing this all in an Android app)</p>
