jquery-form/form

How to get json data from error responses

Open

#547 创建于 2018年4月9日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (5,209 star) (2,199 fork)batch import
enhancementfeaturehelp wantedtest needed

描述

Hi, I see the error handler is now deprecated, which is the correct a stable way to get called on HTTP status code that represent an error? And since with REST services errors responses can contain json data, is that data available when the dataType is specified?

Thank you, Stefano.

贡献者指南