I have two APIs first api is to upload image it only accept one image at a time and it return response like image url and original name and all the fields for the image after uploading to the api
Now there is another api which creates a product and in that api there is parameter which is array of those Responses and the user can upload multiple images in a product and in final api where product is uploaded we have to give all the response of all the image which we uploaded through the previous image upload api
This is the case if you could understand