2 ms·
I'm not sure but I thought this was fairly clear. https://www.parse.com/docs/rest/guide#objects-creating-objects https://www.parse.com/docs/rest/guide#objects-
by mattkrea 11y ago
I'm not sure but I thought this was fairly clear.
https://www.parse.com/docs/rest/guide#objects-creating-objects https://www.parse.com/docs/rest/guide#objects-creating-objec...
The two headers (application ID and API key are right there) and translating a cURL request to JS is pretty straightforward..
$.ajax({
url: "https://api.parse.com/1/classes/GameScore" https://api.parse.com/1/classes/GameScore",
method: "POST",
headers: {
'X-Parse-Application-Id': "some ID",
'X-Parse-REST-API-Key': "some key"
},
body: "your data"
}).done(function (xhr, status, res) { /* handle response */ });