Skip to content

Instantly share code, notes, and snippets.

@prismicdeveloper
Created March 31, 2015 09:44
Show Gist options
  • Save prismicdeveloper/efecc8f60b1f69bada81 to your computer and use it in GitHub Desktop.
Save prismicdeveloper/efecc8f60b1f69bada81 to your computer and use it in GitHub Desktop.
# This will fail because the token is invalid, but this is how to access a private API
api = Prismic.api('https://lesbonneschoses.cdn.prismic.io/api', 'MC5-XXXXXXX-vRfvv70')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment