cancel
Showing results for 
Search instead for 
Did you mean: 

Getting file content with applet and cookie ?

dark_rider
Champ on-the-rise
Champ on-the-rise
How could I get a file content on Alfresco Share? We have an applet and we have to get content of the file with cookies. Alfresco "content" webservice is useful for alfresco side, but on share I could not achieve the authentication problem. Is there any idea? Thanks…
1 REPLY 1

kevinr
Star Contributor
Star Contributor
You need to be authenticated, so either a TICKET or a cookie with appropriate authentication. You can login and get a ticket via POST /api/login API - this is what Share does. Then you can use any of the various APIs to get content, such as GET /api/node/content/workspace/SpacesStore/<nodeid>/<filename>

Kev