I want to fetch posted data. But I am using no form. The data is postet by a jquery script with method post
and I would like to fetch it.
I know how to fetch parameters
$id = $this->getRequest ()->getParam ( 'id', null );
and form values
$message = $form->getValue ( 'message' );
however I want to access post data and not parameters or form values. Any ideas?
Here is my solution;)
$this->getRequest()->getPost('id', null);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With