Getting file content with applet and cookie ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 04:27 AM
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…
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 08:16 AM
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
Kev
