How can i get the response of a uploader?



  • hi
    i am using q-uploader, i have already upload files but i don’t know how to get a json response that php is sending back… i have a @uploaded=“fileUploaded” listener:

    fileUploaded(file, xhr) {
    console.log(“Success upload”,file,xhr)
    this.$refs.uploader.reset();
    },

    i thougth that xhr argument would contain my json, i have checked in the browser console and the response properties like “response”, “response type” and “response text” are empty

    i can see my json returned in the network panel… but i don’t know how to access it
    anyone knows how?
    thanks for your time.