Hi, I'm trying to create node with an empty String[] property via the Sling POST servlet.
Patching, and adding/removing the patched property seems to work:
curl \
${CACERT} \
-s \
-f \
-o /dev/null \
-w "%{http_code}\n" \
-b ${cookies} \
-X POST \
-F jcr:primaryType=sling:Folder \
-F jcr:mixinTypes=mix:versionable \
-F 'foo@TypeHint=String[]' \
-F 'foo@Patch=true' \
-F 'foo=+dummy' \
-F 'foo=-dummy' \
/path/to/resource
Is there a more succinct and accepted way?
Thanks! John
