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.

貢獻者指南