Dup Ver Goto

json

pt2/lang/php 07-31 13:46:47
5 lines, 12 words, 109 chars Monday 2023-07-31 13:46:47

To read POST'ed JSON,

$input = file_get_contents('php://input');
$data = json_decode($input,true);