Skip to content

Instantly share code, notes, and snippets.

@onefriendaday
Created October 30, 2018 15:38
Show Gist options
  • Select an option

  • Save onefriendaday/5e940f63f7b282316f742a1e8f919fc2 to your computer and use it in GitHub Desktop.

Select an option

Save onefriendaday/5e940f63f7b282316f742a1e8f919fc2 to your computer and use it in GitHub Desktop.
fetch('https://api.storyblok.com/v1/cdn/datasource_entries?datasource=github-repositories&token=' + window.storyblok.config.accessToken)
.then(response => response.json())
.then(myJson => {
console.log(myJson)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment