Thanks planex...

now a days i m working on google calendar... i will try your solution
soon, & i will reply you also...

On Jan 9, 2:07 pm, "[email protected]" <[email protected]> wrote:
> Change as follows.
>
> post-data : <atom:entry xmlns:atom="http://www.w3.org/2005/Atom";
> xmlns:gd="http://schemas.google.com/g/2005";>
>
> On  2008年12月30日, 午後11:48, D2 <[email protected]> wrote:
>
> > hi to all...
>
> > i am trying tocreategoogle contactgroupusing API... but i m
> > getting 400 error code..
>
> > i m doing this...
>
> > my URL :http://www.google.com/m8/feeds/groups/"email Id"/full/
>
> > post-data : <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">Google Calendar</atom:title>
> >                 </atom:entry>
>
> > curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-type: application/
> > atom+xml","Authorization: AuthSub token=".$authToken.""));
> >                                 curl_setopt($ch, CURLOPT_HEADER,0);
> >                                 curl_setopt($ch, 
> > CURLOPT_HTTPAUTH,CURLAUTH_BASIC);
> >                                 curl_setopt($ch, 
> > CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_1_1);
> >                                 curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
> >                                 curl_setopt($ch, CURLOPT_POST,1);
> >                                 curl_setopt($ch, 
> > CURLOPT_CUSTOMREQUEST,"POST");
> >                                 curl_setopt($ch, 
> > CURLOPT_POSTFIELDS,$post_data);
> >                                 curl_setopt($ch, CURLOPT_URL,$url);
>
> > the above post-data is same as given in google api...
>
> > can anybody suggest where i m wrong???????
--~--~---------~--~----~------------~-------~--~----~
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