axios.post(axiosjs)的问题

When I make an axios.post("test.php",{name:"abc"}) request on my local dev server, I can access the data using $_POST in test.php file but I can't do the same on my live server. I haven't made any changes in the headers in any of the server.

Can anyone think of what could it be? Tried and tested lot of things but no joy.

Thanks