Last active
March 16, 2020 12:44
-
-
Save kluu1/a25f6eeb050e438a70d82d02e51b0cd9 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
| function getToDo() { | |
| axios.get('https://jsonplaceholder.typicode.com/todos/1') | |
| .then(response => console.log(response.data)) | |
| .catch(error => console.error(error)) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment