php posted data using axios post jquery not found code example
Example: axios post php
// JS
axios.post(url, JSON.stringify({
name: "this.name",
email: "this.psswrd"
}))
// PHP
$_POST = json_decode(array_keys($_POST)[0], true);
// JS
axios.post(url, JSON.stringify({
name: "this.name",
email: "this.psswrd"
}))
// PHP
$_POST = json_decode(array_keys($_POST)[0], true);