AnsweredAssumed Answered

Cloud API - JSONP

Question asked by steven.okennedy on Jan 22, 2015
Hi all,

Hopefully a very quick question…

I want to use the Alfresco One REST API with the Alfresco Cloud from a javascript based web app.  Is there support for receiving the responses from API calls (e.g. https://api.alfresco.com/yourcompany.com/public/alfresco/versions/1/sites/fred-bloggs-yourcompany-com) in a JSONP format, and if so what is the name of the callback parameter expected by the cloud APIs? 

I tried using the callback parameter as defined in the Alfresco One CMIS API docs (http://docs.alfresco.com/5.0/pra/1/concepts/cmis-1.1-browser-binding-get.html) but this doesn't seem to work with the Alfresco One REST API as we just continue to get back plain json rather than json wrapped in the callback

Thanks

Steven

Outcomes