Search
 
SCRIPT & CODE EXAMPLE
 

PHP

send axios request to php

<?php  
  $rp = json_decode(file_get_contents('php://input'), true);
Comment

axios send post to php

var params = new URLSearchParams();
params.append('param1', 'value1');
params.append('param2', 'value2');
axios.post('/foo', params); 
Comment

axios post php

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

PREVIOUS NEXT
Code Example
Php :: install latest php on feren os 
Java :: vm options javafx 
Java :: spigot execute command as console 
Java :: Cannot resolve class android.support.design.widget.CoordinatorLayout 
Java :: java create window 
Java :: java every second 
Java :: how to check if player is in minecart using /execute 
Java :: getcolor deprecated 
Java :: make javafx open full screen 
Java :: java read file to string 
Java :: javafx button color 
Java :: how to set the java_home in mac 
Java :: java program to calculate age from date of birth 
Java :: java convert bytes to string 
Java :: android how to split string 
Java :: java selenium open new tab 
Java :: cast long to string java 
Java :: java count files in folder 
Java :: array to map java5 
Java :: java close jframe 
Java :: remove last character from string 
Java :: how to check type of primitive value in java 
Java :: how to install java 11 jdk on ubuntu 20.04 
Java :: javax notblank not working 
Java :: mockito throw exception void method 
Java :: duck number in java 
Java :: find number of days between two local dates in java 8 
Java :: maven compiler plugin for java 13 
Java :: java joptionpane input 
Java :: regex validation for special characters in java 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =