This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST \ | |
-H "X-Parse-Application-Id: LL9oIdzIkmwl5xyowQQu0fTmXyUWfet9RuAzwHfj" \ | |
-H "X-Parse-REST-API-Key: R3S8PYQKuzeV4c8MUeO5ved46C50MEp56boDHW1O" \ | |
-H "Content-Type: application/json" \ | |
-d @data.json \ | |
https://parseapi.back4app.com/functions/import |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This is my hackish way to use methods that are already in Parse JS SDK v1.5 | |
//to logIn as an anonymous user. Hackish because it relies on internal methods | |
//that starts with an underscore and thus subject to change. In any case, it | |
//helped me move passed authentication and on to the main parts of my project | |
//and I hope it helps you too. | |
Parse._getInstallationId().done( | |
function(installationId){ | |
// | |
// use installation id because it's already a UUID |