alfresco cloud update content file https PUT requests
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2013 11:26 AM
Hello,
I use alfresco cloud.
I can authentificate, get my access_token, and access to a file by having a get request:
[GET] https://api.alfresco.com/mycompany.com/public/cmis/versions/1.0/atom/content?id=id_of_my_file&access...
Now I want to update the content of the file. The doc say to use PUT request. Is what I did :
[PUT] https://api.alfresco.com/mycompany.com/public/cmis/versions/1.0/atom/content?id=id_of_my_file&access...
But I have this error :
{ "error":"invalid_request", "error_description":"Missing access token" }
I don't understand why this error, I specify in the address my access token so why ???
Thanks !
I use alfresco cloud.
I can authentificate, get my access_token, and access to a file by having a get request:
[GET] https://api.alfresco.com/mycompany.com/public/cmis/versions/1.0/atom/content?id=id_of_my_file&access...
Now I want to update the content of the file. The doc say to use PUT request. Is what I did :
[PUT] https://api.alfresco.com/mycompany.com/public/cmis/versions/1.0/atom/content?id=id_of_my_file&access...
But I have this error :
{ "error":"invalid_request", "error_description":"Missing access token" }
I don't understand why this error, I specify in the address my access token so why ???
Thanks !
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2014 01:10 AM
Have you got any success for this issue? I am facing the same thing.
{ "error":"invalid_request", "error_description":"Missing access token" }
Please do let me know if you have got the result for this.
{ "error":"invalid_request", "error_description":"Missing access token" }
Please do let me know if you have got the result for this.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2014 12:20 PM
For PUT/POST requests your token key should be added as
Header:
Name: Authorization
Value: Bearer %your_token_key% .
Header:
Name: Authorization
Value: Bearer %your_token_key% .
