Ajax Post Method
Ajax Post Method
![itbkannan](https://secure.gravatar.com/avatar/f71c8de8f26c43de904e474fc5b9028c/?default=https%3A%2F%2Fvanillicon.com%2Ff71c8de8f26c43de904e474fc5b9028c_200.png&rating=g&size=120)
I have a requirement to use POST method using Ajax to invoke my .NET WCF JSON Service but when i tried, encountered an error,
Below is my code,
$('#CaseInformationGrid').dataTable({
"processing": true, // control the processing indicator.
"serverSide": true, // recommended to use serverSide when data is more than 10000 rows for performance reasons
"info": true, // control table information display field
"stateSave": true, //restore table state on page reload,
ajax: {
"url": "http://localhost:61358/RetrieveCase.svc/CaseInformation",
"type": "POST",
"data": {
"User_Id": "Kannan"
}
},
Please help me out.
Kannan
This discussion has been closed.
Replies
What is the error?
Where are you seeing the error?
Kevin