Ajax and MVC 4 ( post request)
<p>I want to send a simple string ( which is xml ) to a controller . I don't know why the breakpoint in Visual Studio is not hit.</p>

<p>Here is the jQuerry code :</p>

<pre><code>$.ajax({
            type: "POST",
            url: "BasicWizard/show",
            data: "xml="+xmlResult,
            success: function (data) {
                console.log("Oh yeah !");
            },
            error: function(jqXHR, textStatus, errorThrown) {
                console.log(textStatus, errorThrown);
            }


            });
</code></pre>

<p>And here is my method in the controller :</p>

<pre><code>    [HttpPost]
    public ActionResult show(string xml)

   {
       try
       {
           ViewBag.xml = xml;
           return PartialView("showXML");
       }
       catch (Exception)
       {
           return Content("error");
       }


    }
</code></pre>

<p>I have just a 500 error in the console. Thanks for the help ! </p>
