I'm having trouble sending xml entry to modify the ACL feed.

POST /feeds/acl/private/full/document%3A<your document id> HTTP/1.1
Host: docs.google.com
Authorization: <your authorization header here>

<entry xmlns="http://www.w3.org/2005/Atom"; xmlns:gAcl='http://
schemas.google.com/acl/2007'>
<category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/acl/2007#accessRule'/>
<gAcl:role value='writer'/>
<gAcl:scope type='user' value='[email protected]'/>
</entry>

I got the following
Status Code :415

Response :Content-Type application/xml;charset=UTF-8 is not valid.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to