ClientLogin has different feeds:
http://code.google.com/apis/health/docs/2.0/reference.html#ClientLoginFeeds

Namely, you need to use the profile/ui feed
and specify a profile_id.

Eric

On Apr 28, 9:52 am, Henry <[email protected]> wrote:
> Hi all!
>
> To evaluate Google Health API integration with my C++ desktop GUI, I
> am using cURL because Google Health does not offer a C++ (yet?).  This
> is what I did:
> 1. Add Google Health to my Google account and enter some profile
> fields
> 2. curlhttps://www.google.com/accounts/ClientLogin-d Email=<my
> Google email> -d Passwd=<my Google password> -d accountType=GOOGLE -d
> source=<my company name>-cURL-1 -d service=health
> 3. Using the Auth key returned from step 2, I tried to get the profile
> with the following command:
> curl -G --header "GData-Version: 2" --header "Authorization:
> GoogleLogin auth=<Auth returned from step 2>" -d 
> digest=truehttps://www.google.com/health/feeds/profile/default
>
> But I just keep getting "Cannot retrieve Profile Key for URI null and
> AS null".  What does this mean please?
>
> With best regards,
> Henry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" 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/googlehealthdevelopers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to