I am running a curl operation on the command line and am having trouble forcing the header to set as XML. I use the -H option to force the Content-Type to be xml, however, once
I think you want to specify
-H "Content-Type:text/xml"
with a colon, not an equals.