I’m sending a .php file POST data from a java application. The .php file is not accepting the POST data. file_get_contents(‘php://input’) is empty and $_POST is empty. I kno
i had this problem too, for future visitors, my issue was missing the trailing slash in the url
http://someplace.com/cheeseburger
should have been
http://someplace.com/cheeseburger/
for example. this was causing the post to fail in my case.