axios upload percentage code example
Example: fileupload progress bar in axios
const config = {
onUploadProgress: progressEvent => console.log(progressEvent.loaded)
}
const config = {
onUploadProgress: progressEvent => console.log(progressEvent.loaded)
}