Hi
That's a XHR POST request, so it's probably happening because the x-csrf-token
header is not in the request. Can you check the request headers with web
inspector?
The header should be added by jquery_ujs or rails_ujs automatically to all xhr
requests. Do you have one of those libraries in your application.js? What
rails version are you using?
Regards,
Sergio