Hi

I'm trying to create an event from Notes in LotusScript. If this
woirks I'm planing on writing some basic syncing functions.

Currently I have the problem that the event will not be created.

This is the relevant code:

        oWinHTTP.Open "POST", "http://www.google.com/calendar/feeds/default/
private/full?auth=" & auth, False
        oWinHTTP.SetRequestHeader "Content-Type", "application/atom+xml"

        oWinHTTP.Send ev


But I only get a status 400 back and all events from the calendar as
an XML feed.

I allready tried this:

        oWinHTTP.Open "POST", "http://www.google.com/calendar/feeds/default/
private/full", False
        oWinHTTP.SetRequestHeader "Authorization", "GoogleLogin auth=" & auth
        oWinHTTP.SetRequestHeader "Content-Type", "application/atom+xml"

        oWinHTTP.Send ev


But then I get an "Authorization required" back.

--~--~---------~--~----~------------~-------~--~----~
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