axios not sending post data to php backend code example
Example: axios post not sending data php
$_POST = json_decode(file_get_contents("php://input"),true);
echo $_POST['data1'];
$_POST = json_decode(file_get_contents("php://input"),true);
echo $_POST['data1'];