codeinchaos/rest-console — Issue #51: can't fetch raw body from request
Author: wangsc66
Created: 2011-10-11 11:48:57+00:00
State: open

Hi, I'm testing the restful service built with zend using rest-console. I have set the GET Request Payload - Raw Body as something like '{"locationId":"33","limit":"5","offset":"0"}', I have set content type for Accept and Content Headers to 'application/json'. But when I fetch the request body in Zend using '$payload = $this->getRequest()->getRawBody();', it return null. Please help. Thank you in advance.