Hi!
Is there any way how to view all sent parameters if I do not know their name?
For example, I sent these parameters:
- id = 1 (GET)
- name = 'John' (GET)
- surname = 'Smith' (GET)
Example
$request = $this->getRequest();
echo $request->getParam[0]; // Will output 1
echo $request->getParam[1]; // Will output 'John'
echo $request->getParam[2]; // Will output 'Smith'
Thank you!
(I'm not a native English speaker.)