Apache, xampp, localhost

I append PHP code to the end of my html file, after the tag. I see the ‘GET’ used to load my page but any $.GET() or $.POST() is unseen. could localhost be blocking them?
here is the code …

Ajax.PHP

Post
Get

<?php var_dump($_SERVER["REQUEST_METHOD"]); ?>