Last active
February 9, 2021 05:10
-
-
Save sabesansathananthan/640c0ac1159b333fa8c3a020065f29ef to your computer and use it in GitHub Desktop.
Axios Vs Fetch
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
axios.get('url') | |
.then((response)=>console.log(response)) | |
.catch((error)=>console.log(error)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment