This is a simple way to update or write multi-value Node JCR properties inside of AEM using curl.
curl command:
1 2 3 4 5 | curl -v "http://localhost:4502/crx/server/crx.default/jcr%3aroot" \ -u admin:admin \ -H 'Content-Type: multipart/form-data; boundary=crxde' \ --data-raw $'--crxde\r\nContent-Disposition: form-data; name=":diff"\r\nContent-Type: text/plain; charset=utf-8\r\n\r\n^/content/sourcedcodeaem/jcr:content/stringArray : ["one","two","three"]\r\n--crxde-- ' \ --compressed |
The code works here, thanks Brian!