build2be/drupal-rest-test — pull request #4 by bertramakers (2014-10-03 12:03:16+00:00)
Title: Added POST of new comment in post-rest.php

I've added a new comment in the POST request that's in post-rest.php
Some fields of the comment shouldn't be in an array, so I've changed the buildPayload() function to not wrap all values in arrays and moved the wrapper arrays to the $config array.