Skip to content

Instantly share code, notes, and snippets.

@openerror
Created April 30, 2018 20:12
Show Gist options
  • Select an option

  • Save openerror/9876502dced92414edb321cf7d10dc6b to your computer and use it in GitHub Desktop.

Select an option

Save openerror/9876502dced92414edb321cf7d10dc6b to your computer and use it in GitHub Desktop.
SkygearStripe Demo-APIEndPt
const SKYGEAR_ENDPOINT = '<Your Endpoint Here>';
const SKYGEAR_API_KEY = '<Your API Key Here>';
skygear.config({
'endPoint': SKYGEAR_ENDPOINT, // Endpoint
'apiKey': SKYGEAR_API_KEY, // API Key
}).then(() => {
console.log('Skygear container is now ready for making API calls.');
}, (error) => {
console.error(error);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment