I need to make an auto-test for a function, which grabs request body with
file_get_contents('php://input')
So, I run my test in command-line, and want to put something in "request body", like
file_put_contents('php://input', 'kek')
But this straightforward approach is not working.
How can I achieve that?