Never mind. I was setting the request header incorrectly.
On Dec 3, 1:44 pm, "Mr. Creosote" <[EMAIL PROTECTED]> wrote: > I have a Mac proof of concept application (Objective-C) which is > authenticating to Google Health, getting a profile list and then > reading the profile in the list. > > Up to that point, everything works as expected. However, now I am > trying to add an entry to the profile. > > 1. I read the profile record for the <link> entries and got the > correct href for #post. > 2. I set the request method to "POST" > 3. I set the Content-Type header to "application/atom+xml" > 4. I set the Authorization header to the same value I used when I > read the profile. > 5. I set the RequestBody to the contents of an xml file which I > believe is properly formatted to send a CCR entry. > > The response I get back is "Content-Type application/x-www-form- > urlencoded is not valid." > > Any idea where that's coming from? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
