Open GoogleCodeExporter opened 9 years ago
Requesting example of using XmlHttpContent with HttpContent
Which API and version (e.g. Google Calendar Data API version 2)?
XmlHttpContent, a part of google-http-java-client, version 1.18.0-rc
What format (e.g. JSON, XML)?
XML
What Authentation (e.g. OAuth, OAuth 2)?
None / not applicable
Java environment (e.g. Java 6, Android 2.3, App Engine)?
Java 7
External references, such as API reference guide?
Please provide any additional information below.
I am trying to make a HTTP POST request with a XML payload using
XmlHttpContent. I am struggling with creating a XmlHttpContent, specifically,
on what should be elementName in the constructor,
XmlHttpContent(XmlNamespaceDictionary namespaceDictionary, String elementName,
Object data). An example showing its usage with some simple XML data will be
very helpful.
PS: My apologies, I submitted this issue too early by mistake, and I am not
seeing the option to edit it.
Original comment by deepa.n...@gmail.com
on 15 Jan 2015 at 10:30
Original issue reported on code.google.com by
deepa.n...@gmail.com
on 15 Jan 2015 at 10:19