Created
March 26, 2019 16:54
-
-
Save omariosouto/84aa50197aafa9e0fdae9e9712823f7d to your computer and use it in GitHub Desktop.
This file contains hidden or 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://twitelum-api.herokuapp.com/tweets') | |
| .then(function(respostaDoServidor) { | |
| return respostaDoServidor.json() | |
| }) | |
| .then(function(dadosConvertidosEmObjeto) { | |
| console.log(dadosConvertidosEmObjeto) | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment