How can I fix this?
How can I fix this?

This is my datatable initializing
table = $('#rolesTable').DataTable({
select: true,
processing: true,
serverSide: true,
ajax:{
"url": 'http://aaa.bbb.zz:8083/role/data',
"type": 'POST',
"dataType":'json',
"contentType": "application/json;charset=UTF-8",
"headers": {
'Authorization': localStorage.getItem('token')
}
},
columns: [
{
"ordering": false,
"data": null,
"className": "details-control",
"defaultContent": ''
},
{"data": "id", "className": "id"},
{"data": "name"},
{"data": "description"}
],
});
And this is table in my html
ID Name Description
When I send this request I get the 400 error JSONParseException:Unrecognized token 'draw'. I don't send this token
Answers
@SkMicky - please avoid duplicating questions. It makes it difficult to navigate through responses. If you can, delete this post.
For anyone else - the original post is here: Original Post