阅读背景:

如何使用服务器错误响应代码500发送JSON数据?

来源:互联网 

I wanted to know if theres a way to send a JSON data along with HTTP response code 500. Basically I want my rest client to know that there is some error on the backend and along with it send a JSON error data structure like this.I wanted to know if theres a way to send a JSON




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

分享到: