| branch | new-model |
| changeset 934 | aa1ede2e2c29 |
| parent 931 | 0fdce6e14748 |
--- a/test/post-test.php Thu Aug 02 18:25:30 2012 +0200 +++ b/test/post-test.php Fri Aug 24 11:59:40 2012 +0200 @@ -1,6 +1,6 @@ <?php -$data = json_decode($HTTP_RAW_POST_DATA); +$data = json_decode(file_get_contents("php://input")); if (!isset($data->annotations[0]->id)) { $data->annotations[0]->id = uniqid("annotation_");