Question

Magento uses some sort of form key to send POST data. I want to send POST data to a controller in Magento and receive it. How do I do that?

Was it helpful?

Solution

Try Mage::getSingleton('core/session')->getFormKey() to get a valid form key.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top