Your example worked!
On Oct 30, 12:15 am, "Julian (Google)" <[email protected]> wrote:
> I will check that sample, please try the following:
>
> <entry xmlns='http://www.w3.org/2005/Atom'xmlns:gContact='http://
> schemas.google.com/contact/2008' xmlns:gd='http://schemas.google.com/g/
> 2005'>
> <category scheme='http://schemas.google.com/g/2005#kind'term='http://
> schemas.google.com/contact/2008#group'/>
> <title>Salsa Group</title>
> <gd:extendedProperty name="more info about the group">
> <info>Nice people.</info>
> </gd:extendedProperty>
> </entry>
>
> Cheers,
> Julian
>
> On Oct 29, 11:24 pm, pileofrogs <[email protected]> wrote:
>
> > Hi, I'm trying to create a contact group and I was hoping someone out
> > there might be able to tell me what I'm doing wrong. I'm doing it
> > mostly by hand because I want to really understand how this works. I
> > tried it with the example XML from the Protocol docs (http://
> > code.google.com/apis/contacts/docs/3.0/
> > developers_guide_protocol.html#Creating) and it's not working. I've
> > been able to create contacts and retrieve groups and contacts, so I
> > know I'm authenticating and doing most of the transaction properly.
>
> > Thanks!
>
> > Here's what I get back from the server:
>
> > Bad Request
> > Request was :
> > POSThttp://www.google.com/m8/feeds/groups/default/full
> > Authorization: AuthSub token="CPOHtNHZHhDqlXXXXX"
> > User-Agent: SCCC-addrlist-001
> > Content-Length: 356
> > Content-Type: application/atom+xml
> > GData-Version: 3.0
>
> > <atom:entry xmlns:gd="http://schemas.google.com/g/2005">
> > <atom:category scheme="http://schemas.google.com/g/2005#kind"
> > term="http://schemas.google.com/contact/2008#group"/>
> > <atom:title type="text">Salsa group</atom:title>
> > <gd:extendedProperty name="more info about the group">
> > <info>Nice people.</info>
> > </gd:extendedProperty>
> > </atom:entry>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Contacts API" 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-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---