Quasar upload - Get post response
-
Is it possible to get the post response after an upload?
-
You should be able to use the
@uploaded(file, xhr)
event. The second param is the response from the server. -
Has anyone got this working? I am not able to find the response in xhr
-
uploaded: function(file,xhr){
let response = JSON.parse(xhr.response)
}
this one worked for me. -
Thanks
it is working