Which HTTP response code is used to indicate that the current state of the target resource conflicts with the request?
Which HTTP response code is used to indicate that the current state of the target resource conflicts with the request?
HTTP 409 Conflict occurs when the request cannot be completed due to a conflict with the current state of the resource. This is commonly seen in version control systems, concurrent updates, or business rule violations. The server provides information in the response body to help the client resolve the conflict.