Hi,

I am getting 400 as response while trying to create a contact

URL: http://www.google.com/m8/feeds/contacts/[email protected]/full

Entry: <?xml version= "1.0"?>
<atom:entry xmlns:atom='http://www.w3.org/2005/Atom'
        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#contact'/>
<atom:title type='text'>Test Gcr</atom:title>
<atom:content type='text'>Notes</atom:content>
<gd:email rel='http://schemas.google.com/g/2005#work'
        address='[email protected]'/>
<gd:email rel='http://schemas.google.com/g/2005#home'
        address='[email protected]'/>
<gd:phoneNumber rel='http://schemas.google.com/g/2005#work'
primary='true'>
(208)901-8813
</gd:phoneNumber>
<gd:im address='[email protected]'
        protocol='http://schemas.google.com/g/2005#GOOGLE_TALK'
        rel='http://schemas.google.com/g/2005#home'/>
<gd:postalAddress rel='http://schemas.google.com/g/2005#work'
primary='true'>
#3248 N Street Santa Clara
</gd:postalAddress>
</atom:entry>

Properties: Content-Type     application/atom+xml
                 Content-Length  req.length()
                 GData-Version   2
                 Authorization GoogleLogin auth=AuthToken

help me out if either request/parameters are missing.
thanks in advance
Gcr
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to