Last active
August 1, 2018 04:33
-
-
Save hussaintamboli/5962d51c6d21dabedc306a75d821583b to your computer and use it in GitHub Desktop.
JS Bin// source http://jsbin.com/raranenule
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
fetch('http://www.mocky.io/v2/5b6137303000007f006a4018').then(function(response) { | |
return response.json(); | |
}).then(function(data) { | |
console.log(data); | |
}).catch(function(err) { | |
console.log(err.stack); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment