title: Call method from controller via Ajax
body: <p>Here is how I call it now:</p>
  
  <pre><code>if (firstPass == secondPass) {
      $.ajax({
                  url: "/Settings/EditSettings",
                  type: "PUT",
                  data: {
                      user: "someName",
                      pass: "password",
                      email: "someEmail"
                  }
              });  
  }
  </code></pre>
  
  <p>My controller is called SettingsController, and the method in it:</p>
  
  <pre><code>    [AcceptVerbs(HttpVerbs.Put)]
      public void EditSettings(string user, string pass, string email)
      {
          ///
      }
  </code></pre>
  
  <p>But it never gets called. Why?</p>