What HTTP status code should I return when a client sends bad data (for example, a string when an integer was expected)?
I used 400 Bad Request, but when I read over HTTP documents that are more applicable to HTTP protocol errors.
I would like to use a status code so that Flash and AJAX clients can distinguish between successful, bad data and server error without analyzing the response.
Ben K. Sep 01 '09 at 20:39 2009-09-01 20:39
source share