Hi guys

I have a nice running app with contacts, and now i want to expand this to 
calendars, but .... 

Case 1, list calendars - Result: Err 401: Authorization required
        HTTP.Open "GET", 
"https://www.google.com/calendar/feeds/default/allcalendars/full";, False
        HTTP.setRequestHeader "Authorization", "GoogleLogin auth = " & 
[authString to servicename=cl]
        HTTP.setRequestHeader "Content-type", "application/atom+xml"
        HTTP.setRequestHeader "GData-Version", "2.0"
        ' tried, but nothing changed or link link response: 
HTTP.setRequestHeader "X-If-No-Redirect", "1"
        HTTP.send
        
    
Case 2, create a cal - Result: Err 415: Content-Type 
text/plain;charset=UTF-8 is not a valid input type.
        HTTP.Open "POST", 
"https://www.google.com/calendar/feeds/default/owncalendars/full";, False
        HTTP.setRequestHeader "Authorization", "GoogleLogin auth = " 
& [authString to servicename=cl]
        HTTP.setRequestHeader "Content-type", "application/atom+xml"
        HTTP.setRequestHeader "GData-Version", "2.0"
        HTTP.send "<atom:entry xmlns='http://www.w3.org/2005/Atom' 
xmlns:gd='http://schemas.google.com/g/2005' 
xmlns:gCal='http://schemas.google.com/gCal/2005'><title 
type='text'>test</title><gCal:timezone 
value='America/Los_Angeles'></gCal:timezone><gd:where rel='' label='' 
valueString='Oakland'></gd:where></atom:entry>"


Whats false??   Remark: My ClientLogin works with fine with FusionTables and 
Contacts.


Thanks for any Idea and Help!
mk

-- 
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://code.google.com/apis/calendar/community/forum.html

Reply via email to