Am trying to get the progress of a normal post request that takes at least 5 to 10sec. This request is validating data and uploading files to third party api. The issue is, i want to display some kind of progress feedback on my react app for it.
I've been using axios onUploadProgress and onDownloadProgress and checking what is happening but nothing.
onUploadProgress: (progress) => {
console.log("onUpload", progress)
},
onDownloadProgress: (progress) => {
console.error("onDownload ", progress)
}
How can i for every step i have in my node controller send back a manual progress indicator ?