Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Needs Proposal
-
Affects Version/s: 1.9.2
-
Fix Version/s: None
-
Component/s: Zend_Rest_Route
-
Labels:None
Description
I am extending Zend_Rest_Controller, and in my postAction method trying to access variables in the post request. I am calling:
$this->view->username = $this->getRequest()->getParam('username');
The username value returned from getParam() is null.
I am making this exact same call in my getAction and it finds the value fine in the request. Is getParam() not the correct call for a post request?
Changed component and assignee.