magento2 当控制器下的方法实现了HttpPostActionInterface 前台发起的post的请求始终无法路由,解决方案:
添加Content-Type:application/json,X-Requested-With:XMLHttpRequest到请求头即可
详细查看https://magento.stackexchange.com/questions/253585/magento2-3-controller-wont-handle-post-method
magento2 post 请求无法路由
阅读 26
2022-03-12
详细查看https://magento.stackexchange.com/questions/253585/magento2-3-controller-wont-handle-post-method
相关推荐
精彩评论(0)