Question d’entretien chez IONOS

They asked if PATCH is idempotent.

Réponse à la question d'entretien

Utilisateur anonyme

8 juil. 2025

Yes, but not always. It depends if you make a fixed change (like changing a field), or injecting an action that triggers some business logic (like having a column with value increment). They said that this is not valid, because you have to write a POST request. According to RFC 5789 that is wrong.