Skip to content

Instantly share code, notes, and snippets.

@sabesansathananthan
Created February 9, 2021 09:32
Show Gist options
  • Save sabesansathananthan/b2b2e6fbe6dac05a616b9c3b8f9c6099 to your computer and use it in GitHub Desktop.
Save sabesansathananthan/b2b2e6fbe6dac05a616b9c3b8f9c6099 to your computer and use it in GitHub Desktop.
Axios Vs Fetch
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