I sent a “POST” request via external server for version magento-2.3
My internal Magento URL cannot verify and response is
"Invalid Form Key. Please refresh the page."
as a summary, i want to reach to magento-2.3 from outside and is there any valid way to do it ?
I'm planning to build a payment module for my Magento store,
So my PSP working with this way;
callbackUrl which is my controller inside of my module. (So I'm expecting a POST value to my controller.
It looks like this: https://mywebsite.com/mymodule/response).
When I'm trying to grab the value with this code piece
($postData = $this->getRequest()->getPostValue(); $postData['token']).
When I'm trying to do this, Magento is requesting a value named "form_key". In earlier version there was no usage like this. I'm suspecting there is a change in the Magento 2.3.0.
Can you help me ?