I have 400 error when accessing ajax.
I have 400 error when accessing ajax.
rajkumar95
Posts: 3Questions: 1Answers: 0
When accessing two sites accessing cookies mixed and got 400 error when accessing second time .
1. access first site working fine now moving to second site and login coming to fisrt and trying to access got 400 error .
Suggest how to modify data tables cookies
This discussion has been closed.
Answers
using 1.9
I am using below peace of code and some time its working and some time its give 400 error bad request.
$('#example1')
.dataTable(
{
"bProcessing" : true,
"bServerSide" : true,
"iDisplayLength" : 50,
'bJQueryUI' : true,
"bLengthChange" : true,
"bDestroy" : true,
"bInfo" : true,
'sServerMethod' : "GET",
"crossDomain":true,
"cache":false,
"sAjaxSource" : ctx
+ '/api/store/test?lookup={"memberNo":"","firstName":"firstname20141201","lastName":"lastname20141201","companyName":"","address":"","email":"","phoneNumber":"","zipCode":"","city":"","state":"","emailExact":"","couponCode":"","month":"","orderNo":"","date":"","repceiptNo":"","taxExemptNo":"","transactionId":"","transactionDate":"","start":"0","end":"500"}',
/* "sPaginationType": "full_numbers", */