title: How to pass XML as POST to an ActionResult in ASP MVC .NET
body: <p>I am trying to provide a simple RESTful API to my ASP MVC project.  I will not have control of the clients of this API, they will be passing an XML via a POST method that will contain the information needed to perform some actions on the server side and provide back an XML with the result of the action.  I don't have problems sending back XMLs, the problem is receiving XML via a POST.  I have seen some JSON examples,  but since I will not control my clients (it could be even a telnet from my point of view) I don't think JSON will work.  Am I correct?  </p>
  
  <p>I have seen examples where clients simply construct the correct form format as part of the body of the request and then the ASP parse the message, and data is available as FormCollection (?param1=value1&amp;param2=value2&amp;,etc).  However, I want to pass pure XML as part of the message body.</p>
  
  <p>thanks for your help,</p>