I am going through REST API GUIDE given by http://www.parse.com
There the doc says about creating objects and storing it in a parse via CURL and Python API calls.
The CURL request for creating object using POST request looks like below:
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 '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' \
https://api.parse.com/1/classes/GameScore
I wanted to know how can I send request like this using Java.
There is a number of Parse.com third-party API libraries:
From https://parse.com/docs/api_libraries
You might want to evaluate them before making your own interface to parse.com