post axios variable instead of model code example
Example 1: send axios request to php
<?php
$rp = json_decode(file_get_contents('php://input'), true);
Example 2: axios put request
const res = await axios.put('https://httpbin.org/put', { hello: 'world' });
res.data.headers['Content-Type'];