Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

axios post php

// JS
axios.post(url, JSON.stringify({
name: "this.name",
email: "this.psswrd"
}))
  
// PHP
$_POST = json_decode(array_keys($_POST)[0], true);
Source by github.com #
 
PREVIOUS NEXT
Tagged: #axios #post #php
ADD COMMENT
Topic
Name
2+2 =