Adding images/attachments to liferay commerce using the headless API

Olaf Kock modifierades för 1 År sedan. New Member Inlägg: 5 Anslutningsdatum: 2024-05-23 Senaste inlägg

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?