title: How to POST XML string in an ajax call to MVC controller?
body: <p>I have an XML string given below. I am trying to post it to MVC controller through Ajax call.And the MVC controller has a string parameter only. My ajax code is given below.But it is not being able to process the request. How can I send XML string to Controller</p>
  
  <pre><code>var textdata = "&lt;bb&gt;tt&lt;/bb&gt;&lt;ff&gt;rr&lt;/ff&gt;";
  
           $.ajax({
               url: '/AppVersionProtocolMethod/Test',
               type: 'POST',
               data : { xmlData : textdata},
               success: function (datas) {
  
               }
           });
  </code></pre>
  
  <p>Thanks.
     -Soumya</p>