Hello

I can get the Auth value OK by requesting to 
https://www.google.com/accounts/ClientLogin
and using the value, I am trying to submit the calendar url as shown
below

var request = new XMLHttpRequest();
request.open(GET, "http://www.google.com/calendar/feeds/default/
private/composite", false);
if (sAuth) {
        request.setRequestHeader("Authorization", "GoogleLogin
auth="+sAuth);
        //request.setRequestHeader("Content-Type", "text/plain");
}

But this generates an exception below in Firefox and it won't make the
request at all.

uncaught exception: [Exception... "Component returned failure code:
0x80070057 (NS_ERROR_ILLEGAL_VALUE)
[nsIXMLHttpRequest.setRequestHeader]" nsresult: "0x80070057
(NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: 
http://mycompany.com/googletest.html
:: getxhr :: line 24" data: no]

Same code works in IE. Anybody tried this and see it working? I
appreciate any feedback/comment.

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