📜  axios 将帖子发送到 php - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:24.690000             🧑  作者: Mango

代码示例3
// JS
axios.post(url, JSON.stringify({
name: "this.name",
email: "this.psswrd"
}))
  
// PHP
$_POST = json_decode(array_keys($_POST)[0], true);