Reading Request Payload in PHP
10,255
Try:
$payload = file_get_contents('php://input');
Author by
Bran Stark
Updated on June 04, 2022Comments
-
Bran Stark almost 2 years
How can I read content of Request Payload (POST) using PHP?
I´m using a Angular aplication to send the POST.
I've tried with:
$_POST
,$_FILES
andfile_get_contents('php://input')
...None worked.