Created
July 13, 2016 15:09
-
-
Save lulalachen/8df4f55485ea56ea609c6753dccc1230 to your computer and use it in GitHub Desktop.
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
var options = { | |
method: 'GET', | |
headers: myHeaders, | |
} | |
fetch(url, options) | |
.then(response => console.log(response)) | |
.catch(err => console.log(err)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment