Send REST API to Parse from Android
<p>I want to send REST API to the Parse server from Android.
Is any library or class recommended for this ?</p>

<p>I need to send a complex API like in the Parse Docs example: </p>

<pre><code>curl -X POST \
  -H "X-Parse-Application-Id: ${APPLICATION_ID}" \
  -H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
        "where": {
          "user": {
            "$inQuery": {
              "location": {
                "$nearSphere": {
                  "__type": "GeoPoint",
                  "latitude": 30.0,
                  "longitude": -20.0
                },
                "$maxDistanceInMiles": 1.0
              }
            }
          }
        },
        "data": {
          "alert": "Free hotdogs at the Parse concession stand!"
        }
      }' \
  https://api.parse.com/1/push
</code></pre>

<p>The libraries i've seen send REST API in the format that has the header and then pairs of strings.
How can i send the complex script like this ? </p>