AnsweredAssumed Answered

Hit External API

Question asked by drozes on Mar 13, 2012
Latest reply on Mar 21, 2012 by drozes
Hello All;
New to Alfresco and appreciate any help available.

Trying to make a simple server side request to a URL (ie.

I'll create the webscript's xml file and am able to hit the URL successfully:
  <description>Sample Tests</description>

I now need the controller method to execute on server side and pass the data in to my ftl.

Once again, this needs to be server side to avoid cross domain issues.

Thanks for any help.


currently my server side javascript is doing:

// change the name of this document = "User_File-";
//Add property["cm:status"] = "Not Started";
// save the property modifications;

//Need to hit External API - Indiciating new document.
response = hiturl("")