jquery-form/form

How to get json data from error responses

Open

#547 opened on Apr 9, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (5,209 stars) (2,199 forks)batch import
enhancementfeaturehelp wantedtest needed

Description

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.

Contributor guide