SyntaxFix
Write A Post
Hire A Developer
Questions
In my case, I forgot to tell the type controller that the response is a JSON object. response.setContentType("application/json");