When I click on the button, the file is downloaded to the server in response, I get
{files: [{name: "screenshot (1).png", size: 1004591, type: "image/png",…}]} files:[{name: "screenshot (1).png", size: 1004591, type: "image/png",…}] 0:{name: "screenshot (1).png", size: 1004591, type: "image/png",…} deleteType:"DELETE" deleteUrl:"http://someurldelete.png" name:"screenshot (1).png" size:1004591 thumbnailUrl:"someurl.png" type:"image/png" url:"someurl.png" The question is how do I get the thumbnailUrl: "someurl.png" and overwrite, and then only send to the user.