How to generate formkey in Magento and send a POST request?
-
03-10-2020 - |
문제
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?
해결책
Try Mage::getSingleton('core/session')->getFormKey()
to get a valid form key.
제휴하지 않습니다 magento.stackexchange