'Create simple product in magento 2 and add full url images?

sorry for my english. I have a store in Magento 2, and when the user search for some product that not exist in my db, i send a request to a external api that return a list of 10 products, so my idea is create these products on the fly using the m2 api and send 10 request in parallel, the problem is the images, if i have to download each images for each product and convert to base64 to then upload in other request, the performance is too bad. Is there the possibility to in the same request (mysqite.com/rest/V1/products) create the products and add the full url image to each one?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source