Skip to content

Instantly share code, notes, and snippets.

@bhimsur
Created July 21, 2020 13:42
Show Gist options
  • Save bhimsur/4de164f5a4836b2657944d97fe7d7532 to your computer and use it in GitHub Desktop.
Save bhimsur/4de164f5a4836b2657944d97fe7d7532 to your computer and use it in GitHub Desktop.
fetch('http://example.com/movies.json')
.then(response => response.json())
.then(data => console.log(data));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment