06-20-2011 05:09 AM
function main(){
model.test = "Hello!";
}
main();
test.post.json.ftl{
"test" : "${test}"
}
test.post.desc.xml<webscript>
<shortname>test</shortname>
<description>test</description>
<url>/api/test/</url>
<format default="json">argument</format>
<authentication>user</authentication>
<transaction allow="readwrite">required</transaction>
</webscript>
curl -uadmin:admin -d "" http://www.alfresco.test/alfresco/s/api/test/
06-20-2011 05:58 AM
${test!""}
06-20-2011 06:30 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.