Eric, I found what the problem was.
I had https://www.google.com/health/feeds/profile/list/, I changed the value to https://www.google.com/h9/feeds/profile/list/. So the difference was health to h9. Thanks for your help. Delton On Apr 9, 5:37 pm, "Eric (Google)" <[email protected]> wrote: > Can you post an http request/response capture? > > Eric > > On Apr 9, 12:30 pm, dellyJM <[email protected]> wrote: > > > > > Hi All, > > > This is my .NET Code that i'm trying to use to connect to profile/list > > but everytime I run it I get invalid token 401. What could my problem, > > it's frustrating me. > > > string request; > > string response; > > System.Text.StringBuilder respBody = new StringBuilder(); > > HttpWebRequest httprequest; > > HttpWebResponse httpresponse; > > > request = "https://www.google.com/health/feeds/profile/ > > list"; > > httprequest =(HttpWebRequest)HttpWebRequest.Create > > (request); > > httprequest.ContentType = "application/atom+xml"; > > > httprequest.Headers.Set("Authorization","GoogleLogin > > auth=" + authCode.Trim()); > > httpresponse = (HttpWebResponse)httprequest.GetResponse();- > > Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
