SpringBoot 调用ajax POST 方法报Request method 'POST' not supported解决方法

在使用Ajax和SpringBoot的时候会出现
错误

处理方法:将前端的type='POST'和后端的method=RequestMethod.POST去掉。

你可能感兴趣的:(SpringBoot 调用ajax POST 方法报Request method 'POST' not supported解决方法)