jacwright/RestServer — pull request #27 by aresthelord (2014-09-14 00:56:48+00:00)
Title: sending json using post method, got by getData()  but can't use in sendD...

...ata()

/*in case of sending json using post method the class can get this object by getData()
but can not use the gathered info in sendData() */
if($this->data){
$params['data'] = $this->data;
}
$result = call_user_func_array(array($obj, $method), $params);