3 ms·
I apologize, but for FFS I looked on SO, Parse Docs, Parse Forum, and Google. Every result was either "it's not working" or a redirect to their SDK which I can'
by vonklaus 11y ago
I apologize, but for FFS I looked on SO, Parse Docs, Parse Forum, and Google. Every result was either "it's not working" or a redirect to their SDK which I can't use.
.get('normal-api-endpoint/thing-iwant', {
// there are 4 headers that need to go somewhere here
})
- mattkrea 11y agoI'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 */ });