1. curl xml
curl -X POST http:url/path 
-H "Content-Type: application/xml" 
-H "Accept: application/xml"   
-d "<xml>...</xml>"