Hello,

I am trying to create a calendar resource in google. I populate the
url and param map appropriately and set the Content Type. I have tried
both methods setContentType() and setHeader() as below but I always
get the response "Content-Type application/x-www-form-urlencoded is
not a valid input type."

    service.setContentType(ContentType.APPLICATION_XML);
    service.setHeader("Content-type","application/atom+xml");

    String str = service.makePostRequest(myPostUrl, postParameterMap);

I have been stuck on this forever :(

TIA
Gumnam

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data 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://code.google.com/apis/calendar/community/forum.html

Reply via email to