On a php-server I capture all posted variables from $_POST, forexample
var_dump($_POST);
This works fine if I use a html-form to post to the server.
I try to post to the server using nodejs and requestify:
requestify.post('http://localhost/rest/1/comment/create', {hello: 'world'})
.then(function(response) {
console.log(response.getBody());
})
This will not be captured by the php-server and var_dump($_POST) outputs an empty array.