axios post not sending data php
$_POST = json_decode(file_get_contents("php://input"),true);
echo $_POST['data1'];
Are there any code examples left?
New code examples in category PHP
$_POST = json_decode(file_get_contents("php://input"),true);
echo $_POST['data1'];