412 Precondition Failed

Explanation:

The 412 Precondition Failed status code indicates that one or more conditions given in the request header fields evaluated to false when tested on the server.

Usage:

This status code should be used when one or more conditions given in the request header fields evaluated to false when tested on the server.

Attentions:

  • The server should include information about the failed conditions in the response message if possible.
  • The response should include a message body with information about the failed conditions.

Sample:

undefined