Genreating serverSide response with custom Ajax Header
Genreating serverSide response with custom Ajax Header
deroccha
Posts: 9Questions: 1Answers: 0
Is there a way the fetch Data from Server with a custom Header?
I have the following code which sends the request to the proper function but does not generates any response
oTable = $('#saleReport').dataTable({
"ajax": {
//"url": "/reports",
"method": "post",
"headers": { 'X-OCTOBER-REQUEST-HANDLER': 'onReports' }
}
});
This discussion has been closed.