badRequest constant

HttpStatus const badRequest

400 BAD REQUEST.

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

Implementation

static const HttpStatus badRequest = HttpStatus._(
  code: HttpStatusCode.badRequest,
  name: 'Bad Request',
  description:
      'The server cannot or will not process the request due to something '
      'that is perceived to be a client error '
      '(e.g., malformed request syntax, invalid request message framing, '
      'or deceptive request routing).',
);