jquery-form/form

How to get json data from error responses

Open

#547 aberto em 9 de abr. de 2018

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (2.199 forks)batch import
enhancementfeaturehelp wantedtest needed

Métricas do repositório

Stars
 (5.209 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador