I want to call a serverside script using datatable. I do that via the Ajax option. The datatable script calls the Serverside script, but I get an error message where it is not clear to me where it comes from, I did not program it in my server script. This is the message:
{
"message": "Not authorized"
}
This is my ajax in the datatable js:
ajax: myapp_config.assetsUrl + "/../api/obsv-server.php?rec=1",
which is also strange for me that a data field is added when it is called.
http://sadmin.vs/api/obsv-server.php?rec=1&_=1601308723922
Where is my fault?
Andreas