title: Call PHP rest webservice from ajax MVC asp.net?
body: <p>i am trying to call php rest webservice from MVC ajax but after calling it it is not going to call success i dont what i am missing here.</p>
  
  <p>webservice required 2 paramaters my code</p>
  
  <pre><code> $.ajax({
      type: "POST",
      url: "https://test.com/custom/",
      dataType: "json",
      contentType: "application/json",
      data: { "ReleaseVersion": "XXX", "ReleaseType":"XXX" },
      success: function (data) {
          alert("webservice called successfully");
      }
  })
  </code></pre>
  
  <p>it tried using json.stringfy while passing parameters but it wont work.
  is anyone how to solve this.
  Environment: Visual Studio 2013 and MVC 4.0.</p>