Created
February 9, 2021 09:32
-
-
Save sabesansathananthan/b2b2e6fbe6dac05a616b9c3b8f9c6099 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
const config = { | |
onUploadProgress: event => console.log(event.loaded) | |
}; | |
axios.put("/api", data, config); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment