Ajax POST results in a 405 (Method Not Allowed) - Spring MVC
问题 I'm trying to make an ajax call to my Spring controller/action with POST method, and return an object from the server with @ResponseBody. The strange situation is that it stop working after add spring security layer, everything was working fine before. I will try to explain my moves to solve the problem and then show you the code/captures/etc. 1. After some research I found some answers telling the problem might be related with csrf mechanism, so I disabled it and still have the issue.