SyntaxFix
Write A Post
Hire A Developer
Questions
Try to use the rack-cors gem. And add the header field in your Ajax call.