我使用grails创建了示例rest应用程序,并使用security插件添加了一个安全性。我正在尝试使用rest客户端邮递员来测试它,但是当我在原始数据中发送用户名和密码作为json的帖子请求时,我得到404到'$MYAPP/api/login‘和401’$MYAPP/api/login/In Config.groovy
// Added by the Spring Sec
我使用的是Grails版本...会不会是我错过了什么?谢谢!org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at ar.com.mlan.api.PdCController.save(PdCController.<em