Gary
0
Q:

axios post php

// JS
axios.post(url, JSON.stringify({
name: "this.name",
email: "this.psswrd"
}))
  
// PHP
$_POST = json_decode(array_keys($_POST)[0], true);
0
<?php  
  $rp = json_decode(file_get_contents('php://input'), true);
0

New to Communities?

Join the community