Resumable.js - retrive success server response

730 Views Asked by At

How do I get the response data from the last chunk uploaded? I cant find it anywhere, the only thing that I found was that you can only access the message on error

Thanks

1

There are 1 best solutions below

0
getl0st On BEST ANSWER

Found it! If you want to retrive the data from the file uploading you need this:

    r.on('fileSuccess', function(file, event) {
        console.log(event);
    });