SyntaxFix
Write A Post
Hire A Developer
Questions
I was having exactly the same problem. I looked for two hours what was wrong with no luck until I realize my POST method was private instead of public .
POST
private
public
Funny now seeing that error message is kind of generic. Hope it helps!