const options = {
method: "POST",
headers: { "content-type": "application/x-www-form-urlencoded" },
data: {a1 : 'привет'},
url: "http://webgis:81/src/server/index.php",
};
axios(options).then(function (response) {
console.log(response.data);
console.log(response.status);
console.log(response.statusText);
console.log(response.headers);
});
echo $_POST;
он выводит Array()