Hi,

I am facing problem while trying to retrieve contacts feed.
'ClientLogin' request goes fine and i get the SID, LSID and Auth
values

https://www.google.com/accounts/ClientLogin  [POST]

accountType=GOOGLE&[email protected]&Passwd=test123
&service=cp&source=Jagg-GConnector-1.00

for contacts feed i am sending like

http://www.google.com/m8/feeds/contacts/myEmailid/full?&alt=atom&start-index=1&max-results=10
[GET]

connection.setRequestProperty("GData-Version", "2");
connection.setRequestProperty("Authorization", "GoogleLogin
auth="+AuthToken);
connection.setRequestProperty("Content-Type", "application/x-www-form-
urlencoded");

getting 401: "Unauthorized" error.

correct me if something is wrong in the request or parameters.
thnx in advance

cing

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