Browse
Hyland Connect
Hyland Community
Help
Sign In
What's New
Platform
Content Innovation Cloud
Content Innovation Cloud Blog
Alfresco
Alfresco Forum
Alfresco Blog
Alfresco Archive
Nuxeo
Nuxeo Forum
Nuxeo Blog
Community Blog
alfresco cloud update content file https PUT requests
dahevos
Champ in-the-making
Options
Mark as New
Subscribe to RSS Feed
Permalink
Print
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 !
Labels:
Labels:
Archive
ECM Archive
All forum topics
Previous Topic
Next Topic
2 REPLIES
2
aniruddhsinh
Champ in-the-making
Options
Mark as New
Subscribe to RSS Feed
Permalink
Print
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.
kallisto
Champ in-the-making
In response to
aniruddhsinh
Options
Mark as New
Subscribe to RSS Feed
Permalink
Print
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% .
Post Reply