Hi,
After you obtained the auth token, you are supposed to use it by embedding
it within the http request header for every request.  For more details on
how this is done, please read -

http://code.google.com/apis/gdata/auth.html

Hope it helps,
Austin

On Feb 1, 2008 1:25 PM, marco <[EMAIL PROTECTED]> wrote:

>
> I am trying to create a new event using java using the following
> method specified in
> http://code.google.com/apis/calendar/developers_guide_protocol.html#CreatingCalendars
> on Creating new calenders.
>
> I am able to login and authenticate properly but when i POST to the
> feed
>
> ITEMS_FEED = "http://www.google.com/calendar/feeds/default/
> owncalendars/full";
>
>
>
> The response i am getting is
>
> Obtained authorization token:
> DQAAAHYAAABvDVTChTtZtQ4EpQ202pJCG5w4yJHIiJN5-nKn-
> sMPJ5X_Wk169vKqvG7plP5yTzuwjQRVo7RYGySjl92FVT8im1eDNEKN7sprgdbBbzq8V-
> hxjVJjkXVEkWwc-Gog2izbUDMNWSqHf-i-Vr1v2YftnIORHgkf3Cah0IJKue4xjQ
> <HTML>
> <HEAD>
> <TITLE>Authorization required</TITLE>
> </HEAD>
> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
> <H1>Authorization required</H1>
> <H2>Error 401</H2>
> </BODY>
> </HTML>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to