阅读背景:

当由于FK约束而无法执行DELETE时,响应的正确HTTP状态代码是什么?

来源:互联网 

What would be the right response I should give to the users when they try to DELETE an entity on a datasource sitting behind a rest/odata api, and the operation cannot be performed due to a foreign key constrain? Is it a bad request? A not acceptable? A server-side error (>=500)?What would be the right response I should give




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: