axios发送post 请求 PHP接受数据的方式

  axios.post('http://localhost/comments/post.php', {
      a: 10
    }).then(res => {
      console.log(res)
    })
a);

你可能感兴趣的:(axios发送post 请求 PHP接受数据的方式)