I'm using file_get_contents("php://input")
to get the body of a post request. However, it's coming back as an empty string when I call var_dump(). I checked php.ini config and allow_url_fopen
is set to On.
I'm using postman to test the request. Nothing special, no multipart/form, just a plain post with a few params. Because I'm using php://input always_populate_raw_post_data can be configured off, right?