This file contains 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 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
// Requiring npm module | |
var braintree = require("braintree"); | |
// Initializing gateway | |
var gateway = braintree.connect({ | |
environment: braintree.Environment.Sandbox, | |
merchantId: "useYourMerchantId", | |
publicKey: "useYourPublicKey", | |
privateKey: "useYourPrivateKey" | |
}); |
This file contains 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: YKjNQyNBBsaJpRlcSRxBfR3yKCGdU395XzZfqjdB" \ | |
-H "X-Parse-REST-API-Key: JBDMxg9uyvbq7FQdd44EtSKDLdDlIrRrP6EIvFZJ" \ | |
-H "Content-Type: application/json" \ | |
-d '{"exportClass": "MyClass"}' \ | |
https://parseapi.back4app.com/functions/export > out.json |
This file contains 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
// In order to use it: | |
// Create an app in back4app, create a class called Message with a column called text, activate web hosting + live query for this class | |
// Create a new folder and go to it | |
// Place curent code in a file called livequery.js | |
// run: npm install parse | |
// run: node ./livequery | |
// Then you can create, update and delete entries in dashboard and see the results in your console | |
var Parse = require('parse/node'); |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta content="Back4App Inc" name="author"> | |
<title>Sample App| JavaScript Quickstart | Back4App</title> | |