Yii 2.0 ajax request CSRF validate fail
When setting ajax request in Yii 2.0 framework, always get 400 error "Unable to verify your data submission.", found the problem is csrf cookies not set correct by test, this topic will show how to fix it.
YiiLib Foucs on: Pro Web Dev Tutorial and Pro Web Dev Service
Copyright © 2011 - 2024 YiiLib.com(YiiBlog.info) - Designed & Developed by Boy.Lee