All i want to do is to upload the image after the the files and data has been already inserted and as result; take the response to get the id of the created record and update it with an image whose input is File2 in the html.
But always is giving an exception telling that the id for the response of the first request , doesn't exist and should exist since the second request is inside the response of the first. I'v done everything and only got it work with small size files
I'm having some issue with figuring out how can i nest a Upload.upload function inside the response for the outer function.
an this is my html.
All i want to do is to upload the image after the the files and data has been already inserted and as result; take the response to get the id of the created record and update it with an image whose input is File2 in the html.
But always is giving an exception telling that the id for the response of the first request , doesn't exist and should exist since the second request is inside the response of the first. I'v done everything and only got it work with small size files