9951 explained code solutions for 126 technologies


phpRead JSON from RAW posted data


$json = json_decode(file_get_contents('php://input'), 1);ctrl + c
$json

this variable will conain final JSON array

json_decode

decode input text as JSON

file_get_contents('php://input')

returns RAW posted data