I’ve started a test system. When saving via the lightbox to the server the URL is changed?
This is my URL: var dp = new dataProcessor("/savedate.php");
When saving via the lightbox to the server the URL is changed?
this is the expected behavior from REST API client, different actions will call different urls and different HTTP methods, urls of ‘delete’ and ‘update’ actions will contain the identifier of the related record.
In order to do this, the first way is to implement REST API on the server - add some routing so that the rest URLs from the client are sorted out and its handler called. You can use some kind of additional library, such as slim: https://docs.dhtmlx.com/scheduler/howtostart_php_slim4.html