How do I stop getting these emails. Everytime I try to unscubscribe, it says I'm not subscribed to this group, but obviously I'm getting these emails.
David On 6/17/09 11:31 AM, "vhrao" <[email protected]> wrote: > > I want to retrieve my profile > The HealthProfile.aspx defines PrintProfile() method that uses > following classes: > GAuthSubRequestFactory > HealthService > HealthQuery > HealthFeed > XMLExtension and others > The output is parsed and neatly displayed. This is great. > > But the Google Health Data API tells us to use HTTP requests and > headers. So I wrote something using HttpWebRequest and HttpWebResponse > class. > I don't know how to parse the HttpWebResponse output using CCR related > tags (similar to the example code HealthProfile.aspx referenced above) > and get the various profiles in a neat manner instead of me parsing > the response. > > Here is my code. Please advise.. > > string request; > string response; > System.Text.StringBuilder respBody = new StringBuilder(); > HttpWebRequest httprequest; > HttpWebResponse httpresponse; > > request = "https://www.google.com/h9/feeds/profile/ > default"; > httprequest =(HttpWebRequest)HttpWebRequest.Create > (request); > httprequest.ContentType = "application/atom+xml"; > httprequest.Headers.Set("Authorization", "AuthSub token=" > + (String) Session["token"]); > //httprequest.Headers.Set("Authorization","GoogleLogin > auth=" + authCode.Trim()); > httpresponse = (HttpWebResponse)httprequest.GetResponse(); > Encoding enc = System.Text.Encoding.GetEncoding(1252); > StreamReader loResponseStream = new StreamReader > (httpresponse.GetResponseStream(), enc); > string Response = loResponseStream.ReadToEnd(); > loResponseStream.Close(); > httpresponse.Close(); > > -- David S. Kim, M.D., M.S., FACOG Advance Women's Care Clinical Assistant Professor University of Hawaii 1029 Kapahulu Avenue #307 Honolulu, HI 96816 Work. 808-733-5111 Mobile. 808-781-3295 Fax. 808-441-0927 http://www.advance-womens-care.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
