Hi,
For call Alfresco Webscript from Share on a controller js we used this code :
var conn = remote.connect("alfresco");
var repoResponse = conn.post("/api/sites", clientRequest, "application/json");
And this work.
So, How call Alfresco REST API on this same context?
See API information : Alfresco Content Services REST API Explorer
var conn = remote.connect("alfresco");
var repoResponse = conn.get("/sites");
Doesn't work...
thx