I am trying to put data on my rest api as
!-->
$.ajax({
url: 'http://cloud........LoginCredentials ',
type: 'Put',
contentType: "application/json; charset=utf-8",
dataType: 'json',
crossDomain: true,
async:true,
data: LoginCredentials,
success: function (dataFromServer) {
alert("alertSuccess");
},
error: function (dataFromServer) {
alert(dataFromServer + "alertfailure");
}
});
but
using this method i am not able to call my rest api that is on another server.
PLease help me out for any other methods or api available using jqurey,ajax.