CodeIgniter Forums

Full Version: Exclude url from csrf
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I use auto CSRF in my project
I need use it only web panel
But when i use api in my app and post data,csrf show error "not allowed"
Can i limit csrf for special controller example for controller/*?
I found it
I use 'api/\S+' in exclude uri