0

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?

  • I am new to Magento. Can I do this from an API? If so should I include some class or file? Can you share some sample code? – Ramanan Oct 19 at 15:58
3

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.