test.php
// Fetch the raw POST body containing the message
$postBody = file_get_contents('php://input');
// JSON decode the body to an array of message data
$message = json_decode($postBody, true);
if ($message) {
// Do something with the data
echo $message;
}
POSTに使った便利なchrome拡張機能
DHC - Restlet Client