$.ajax({ url: "Employee/CreateEmployee", type: 'GET', data: {"Name":"Jonson","Designation":"Engineer"}, contentType: 'application/json; charset=utf-8', success: function (response) { alert(response.status); }, error: function () { alert("error"); } });
data: {Name:"Jonson",Designation:"Engineer"},
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)