Answers for "php passing variables axios"

PHP
0

php passing variables axios

$_POST = json_decode(file_get_contents("php://input"),true);
echo $_POST['data1'];
Posted by: Guest on April-04-2021
0

php passing variables axios

axios.post(url, {data1: 'string' }).then(function(response) {
    //code here 
});
Posted by: Guest on May-22-2021
0

php passing variables axios

var params = {
    data1: 'string',
}

axios.post(url, params).then(function(response) {
    //code here 
});
Posted by: Guest on May-22-2021

Code answers related to "php passing variables axios"

Browse Popular Code Answers by Language