Adding images/attachments to liferay commerce using the headless API

Olaf Kock, modificado 1 Ano atrás. New Member Postagens: 5 Data de Entrada: 23/05/24 Postagens Recentes

I am trying to use the headless API to add images/attachments to a liferay commerce product. There are 2 API that are provided by liferay 

  1. upload images using a url 
  2. upload images by base64

I am able to upload images using base64, but I have no luck using the url version. Can anyone provide an example of how the "src" property should look like for a local file?