title: JSON result not getting in AJAX
body: <p>The <code>JSON</code> didn't give correct result(issuccess:failed)  on <code>AJAX</code> while it give correct result in postman(issuccess:true)</p>
  
  <p>The <code>JSON</code> response in <code>AJAX</code></p>
  
  <p><img src="https://i.stack.imgur.com/LR4ig.png" alt="image1"></p>
  
  <p>and</p>
  
  <p>The <code>JSON</code> result in postman </p>
  
  <p><img src="https://i.stack.imgur.com/rOfRD.png" alt="image 2"></p>
  
  <pre><code>                            var jData = {};
                              jData.username = $scope.mobile;
                              jData.password = $scope.password;
                              jData.entrytoken="aaad1323dfd";
  
                              var $resData = null; 
                              $.ajax({
                                  url:url,
                                  type: "POST",
                                  ContentType: "application/json; charset=utf-8",
                                  data:JSON.stringify(jData) ,         
                                  dataType: "json",
                                  beforeSend: function () { 
  
                                    },
                                success: function (response) {
  
                                 console.log(response);
                                 },
                               error: function (jqXHR, textStatus, errorThrown) { 
  
                                    },
                        complete: function () {
  
                                 }
                            });
  </code></pre>