tried this but not working
formData.append(
`files.imagemP`,
images[0],
`${article.slug}-principal.jpeg`,
);
formData.append(
`fileInfo.imagemP`,
JSON.stringify([{ caption: 'captionTest' }]),
);
seen this post a while later doing exactly the same thing but there was no solution at the end
This topic has been created from a Discord post (1234514291801980958) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord