mardi 9 août 2016

Which HTTP status for rendered HTML response to invalid form input

What status code should be set to the returned html page which indicates that user has entered incorrect value in a form field ?

In REST API the obvious choice would be 422 but does this apply to a classical web page request which returns another web page ?




Aucun commentaire:

Enregistrer un commentaire