AnsweredAssumed Answered

alfresco cloud update content file https PUT requests

Question asked by dahevos on Sep 18, 2013
Latest reply on Nov 21, 2014 by kallisto
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_token=my_access_token

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_token=my_access_token

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 !

Outcomes