Ajax post async request


I don’t find the right way for this request:


   window.dhx.ajax.post("test1.php",{ string:"text", nr:123 },function(text, xml, xhr){



$string = $_POST['string'];
$nr = $_POST['nr'];

echo "$string $nr";


Where is the problem? :thinking:


Your code works well for me locally.
console log shows “text 123” successfully.
If the problem still occurs for you please, provide a complete demo or share a demo link, where the problem can be reconstructed locally.