title: How to POST XML into MVC Controller? (instead of key/value)
body: <p>Using Fiddler I can pass in the body</p>
  
  <p>someXml=ThisShouldBeXml</p>
  
  <p>and then in the controller </p>
  
  <pre><code>    [HttpPost]
      public ActionResult Test(object someXml)
      {
          return Json(someXml);
      }
  </code></pre>
  
  <p>gets this data as a string</p>
  
  <p>How do I get fiddler to pass XML to the MVC ActionController ? If I try setting the value in the body as raw xml it does not work..</p>
  
  <p>And for bonus points how do I do this from VBscript/Classic ASP? </p>
  
  <p>I currently have</p>
  
  <pre><code>DataToSend = "name=JohnSmith"
  
            Dim xml
           Set xml = server.Createobject("MSXML2.ServerXMLHTTP")
     xml.Open "POST", _
               "http://localhost:1303/Home/Test", _
               False
   xml.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
   xml.send DataToSend
  </code></pre>