Thanks Julian for your reply and you're right, I used your line of
code and it works perfectly.

The reason I'm not using the full .NET API is because using the
ContactsService like :

         service.setUserCredentials("[email protected]", "password");

I will have to make all subsequent requests using this service.

What I'm trying to do is work with the XML feeds and HTTP like so:

      string feedURL = "http://www.google.com/m8/feeds/groups/
[email protected]/full";
      restRequest = (HttpWebRequest) WebRequest.Create(feedURL);
      restRequest.Headers.Add("Authorization", "GoogleLogin " +
"auth="+authToken);
      restResponse = (HttpWebResponse) restRequest.GetResponse();
      XMLDoc.Load(restResponse.GetResponseStream());

On the other hand using the Contacts API in .NET will return entries
as objects. However, with XML I can serialize/deserialize and convert
to JSON so it can be consumed directly from the Client-side. Using
the .Net will no only result in slower web-service calls but will
return objects of type ContactEntry  which need to be parsed and
formatted into a JSON-like string to be consumed on the client-side.

Maybe I'm misinformed and there are better/smarter ways of doing
things. Anyway, thank you for the reply.
--~--~---------~--~----~------------~-------~--~----~
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