I simply cannot get the $_POST method to work. Instead $_GET contains the data
I used Postman to test via POST and GET method: Screenshot
Request: ***.rising-games.net/posttest.php?test=Something
<?php
echo "Request method: " . $_SERVER['REQUEST_METHOD'] . "<br><br>";
//-------------------------------------------
// POST output
//-------------------------------------------
if (isset ($_POST ["test"]))
echo "Post 'Test' is: " . $_POST ['test'] . "<br>";
else
echo "Post 'test' is empty!<br>";
//-------------------------------------------
// Get output
//-------------------------------------------
if (isset ($_GET ["test"]))
echo "Get 'Test' is: " . $_GET ['test'] . "<br>";
else
echo "Get 'test' is empty!<br>";
//-------------------------------------------
// Request output
//-------------------------------------------
if (isset ($_REQUEST ["test"]))
echo "Request 'Test' is: " . $_REQUEST ['test'];
else
echo "Request 'test' is empty!";
?>