I'm trying to add tags to documents in Alfresco using Alfresco's webscript API. I manage to read the tags from documents using GET but when I try to POST to add a tag I get response code 500 from Alfresco and an error message in the Tomcat log including "…Expression tags is undefined…". I guest there is something wrong with the way I send the arguments to the POST. Has anyone managed to do this?
The Groovy code I use is: import java.net.URL; import java.net.URLConnection; import java.net.URLEncoder; import org.apache.commons.codec.binary.Base64;